67#ifndef regionFaModel_H
68#define regionFaModel_H
97 void constructMeshObjects();
166 const word& regionType,
251 virtual void info() = 0;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dictionary()
Default construct, a top-level empty dictionary.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Mesh data needed to do the Finite Volume discretisation.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Base class for area region models.
autoPtr< IOdictionary > outputPropertiesPtr_
Dictionary of output properties.
Switch active_
Active flag.
virtual ~regionFaModel()=default
Destructor.
const Time & time_
Reference to the time database.
const word modelName_
Model name.
virtual void postEvolveRegion()
Post-evolve region.
const Time & time() const
Return the reference to the time database.
const dictionary & solution() const
Return the solution dictionary.
Switch infoOutput_
Active information output.
word regionName_
Region name.
autoPtr< volSurfaceMapping > vsmPtr_
Volume-to surface mapping.
const dictionary & coeffs() const
Return the model coefficients dictionary.
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
static const word regionFaModelName
Default name regionFaModel.
label patchID() const
Return patch ID.
virtual scalar CourantNumber() const
Courant number of the region.
dictionary coeffs_
Model coefficients dictionary.
void operator=(const regionFaModel &)=delete
No copy assignment.
autoPtr< faMesh > regionMeshPtr_
Pointer to the region mesh database.
virtual void preEvolveRegion()
Pre-evolve region.
const Switch & active() const
Return the active flag.
virtual void evolve()
Main driver routing to evolve the region - calls other evolves.
const fvMesh & primaryMesh_
Reference to the primary mesh database.
virtual void info()=0
Provide some feedback.
const fvPatch & patch_
Reference to fvPatch.
const word & modelName() const
Return the model name.
label patchID_
Patch IDs on the primary region coupled to this region.
const volSurfaceMapping & vsm() const
Return mapping between surface and volume fields.
const faMesh & regionMesh() const
Return the region mesh database.
const IOdictionary & outputProperties() const
Return const access to the output properties dictionary.
TypeName("regionFaModel")
Runtime type information.
regionFaModel(const regionFaModel &)=delete
No copy construct.
const Switch & infoOutput() const
Return the information flag.
virtual void evolveRegion()
Evolve the region.
Volume to surface and surface to volume mapping.
A class for handling words, derived from Foam::string.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.