
Go to the source code of this file.
Functions | |
| Info<< "Reading velocity field U< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);U=dimensionedVector(U.dimensions(), Zero);surfaceScalarField phi(IOobject("phi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), fvc::flux(U));if(args.found("initialiseUBCs")){ U.correctBoundaryConditions();phi=fvc::flux(U);}const word pName=args.getOrDefault< word > ("pName", "p") | |
| wordList | pBCTypes (U.boundaryField().size(), fixedValueFvPatchScalarField::typeName) |
| forAll (U.boundaryField(), patchi) | |
| Info<< "Reading velocity field U\<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);U=dimensionedVector(U.dimensions(), Zero);surfaceScalarField phi(IOobject("phi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), fvc::flux(U));if(args.found("initialiseUBCs")){ U.correctBoundaryConditions();phi=fvc::flux(U);}const word pName=args.getOrDefault< word > | ( | "pName" | , |
| "p" | |||
| ) |
| wordList pBCTypes | ( | U. | boundaryField).size(, |
| fixedValueFvPatchScalarField::typeName | |||
| ) |
| forAll | ( | U. | boundaryField(), |
| patchi | |||
| ) |
Definition at line 52 of file createFields.H.
References pBCTypes(), and U().

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.