49void Foam::regionModels::regionFaModel::constructMeshObjects()
58void Foam::regionModels::regionFaModel::initialise()
62 Pout<<
"regionFaModel::initialise()" <<
endl;
65 vsmPtr_.reset(
new volSurfaceMapping(regionMeshPtr_()));
67 if (!outputPropertiesPtr_)
69 const fileName uniformPath(word(
"uniform")/regionFaModelName);
71 outputPropertiesPtr_.reset
77 regionName_ +
"OutputProperties",
79 uniformPath/regionName_,
94 if (
const dictionary* dictptr =
dict.findDict(modelName_ +
"Coeffs"))
99 infoOutput_.readIfPresent(
"infoOutput",
dict);
121 const word& regionType,
122 const word& modelName,
143 modelName_(modelName),
144 regionMeshPtr_(nullptr),
145 coeffs_(
dict.subOrEmptyDict(modelName +
"Coeffs")),
146 outputPropertiesPtr_(nullptr),
148 patchID_(patch.index()),
151 constructMeshObjects();
167 Info<<
"\nEvolving " << modelName_ <<
" for region "
168 << regionMesh().name() <<
endl;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
constant condensation/saturation model.
Lookup type of boundary radiation properties.
Base class for area region models.
virtual void postEvolveRegion()
Post-evolve region.
static const word regionFaModelName
Default name regionFaModel.
virtual scalar CourantNumber() const
Courant number of the region.
autoPtr< faMesh > regionMeshPtr_
Pointer to the region mesh database.
virtual void preEvolveRegion()
Pre-evolve region.
virtual void evolve()
Main driver routing to evolve the region - calls other evolves.
const fvMesh & primaryMesh_
Reference to the primary mesh database.
const volSurfaceMapping & vsm() const
Return mapping between surface and volume fields.
virtual void evolveRegion()
Evolve the region.
Volume to surface and surface to volume mapping.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
messageStream Info
Information stream (stdout output on master, null elsewhere)
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.