Go to the documentation of this file.
67 #ifndef regionFaModel_H
68 #define regionFaModel_H
83 namespace regionModels
95 void constructMeshObjects();
161 const word& regionType,
const dictionary & solution() const
Return the solution dictionary.
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.
A class for handling words, derived from Foam::string.
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
autoPtr< faMesh > regionMeshPtr_
Pointer to the region mesh database.
const Switch & infoOutput() const
Return the information flag.
Switch active_
Active flag.
label patchID_
Patch IDs on the primary region coupled to this region.
regionFaModel(const fvPatch &patch, const word ®ionType, const word &modelName, const dictionary &dict, bool readFields=true)
Construct from mesh and name and dict.
const volSurfaceMapping & vsm() const
Return volSurfaceMapping.
dictionary coeffs_
Model coefficients dictionary.
const word modelName_
Model name.
autoPtr< volSurfaceMapping > vsmPtr_
Volume-to surface mapping.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void postEvolveRegion()
Post-evolve region.
const Switch & active() const
Return the active flag.
const dictionary & coeffs() const
Return the model coefficients dictionary.
const faMesh & regionMesh() const
Return the region mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the reference to the time database.
virtual void preEvolveRegion()
Pre-evolve region.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
virtual void evolveRegion()
Evolve the region.
const Time & time_
Reference to the time database.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Switch infoOutput_
Active information output.
const std::string patch
OpenFOAM patch number as a std::string.
Volume to surface and surface to volume mapping.
virtual bool read(const dictionary &dict)
Read control parameters from dictionary.
Base class for area region models.
const word & modelName() const
Return the model name.
const fvPatch & patch_
Reference to fvPatch.
void operator=(const regionFaModel &)=delete
No copy assignment.
Finite area mesh. Used for 2-D non-Euclidian finite area method.
virtual void info()
Provide some feedback.
word regionName_
Region name.
virtual void evolve()
Main driver routing to evolve the region - calls other evolves.
const fvMesh & primaryMesh_
Reference to the primary mesh database.
TypeName("regionFaModel")
Runtime type information.
virtual ~regionFaModel()=default
Destructor.