40 if (propType ==
"uniform" || propType ==
"zonal")
56 if (propType ==
"zonal")
64 const word& zoneName = iter().keyword();
67 Info<<
" " << zoneName <<
" " << value <<
endl;
76 vtf[zoneCells[i]] = value;
85 forAll(patchFaceCells, patchFacei)
87 if (cellInZone[patchFaceCells[patchFacei]])
102 else if (propType ==
"file")
120 <<
"Valid type entries are "
121 <<
"'uniform', 'zonal' or 'file' for " <<
name
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Generic GeometricField class.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
void correctBoundaryConditions()
Correct boundary field.
static const GeometricField< Type, GeoMesh, PrimitiveField > & null()
Return a null geometric field.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const Time & time() const
Return time.
A List with indirect addressing.
virtual const fvMesh & mesh() const
Return const access to the mesh.
static word phasePropertyName(const word &name, const word &phaseName)
Name of a property for a given phase.
VolField< Type > readProperty(const word &name, const dimensionSet &dimensions) const
const fileName & name() const
Return the dictionary name.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Dimension set for the base types.
Generic dimensioned Type class.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const cellZoneList & cellZones() const
Return cell zones.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
faceListList boundary(nPatches)