createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

 Info<< "Reading velocity field U\n"<< 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)
 

Function Documentation

◆ Info<< "Reading velocity field U\n"<< 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 >()

Info<< "Reading velocity field U\n"<< 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"   
)

◆ pBCTypes()

wordList pBCTypes ( U.  boundaryField).size(,
fixedValueFvPatchScalarField::typeName   
)

Referenced by forAll().

Here is the caller graph for this function:

◆ forAll()

forAll ( U.  boundaryField(),
patchi   
)

Definition at line 52 of file createFields.H.

References pBCTypes(), ensightPTraits< Type >::typeName, and U.

Here is the call graph for this function: