Loading...
Searching...
No Matches
createFields.H File Reference
Include dependency graph for createFields.H:
This graph shows which files directly or indirectly include this file:

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.internalFieldRef()=Zero;U.boundaryFieldRef()=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.internalFieldRef()=Zero;U.boundaryFieldRef()=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.internalFieldRef()=Zero;U.boundaryFieldRef()=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"  )

References mesh, runTime, and U.

◆ pBCTypes()

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

References U.

Referenced by forAll().

Here is the caller graph for this function:

◆ forAll()

forAll ( U. boundaryField(),
patchi  )

Definition at line 58 of file createFields.H.

References pBCTypes(), and U.

Here is the call graph for this function: