68 #ifndef Foam_regionFaModel_H 69 #define Foam_regionFaModel_H 78 namespace regionModels
92 void constructMeshObjects();
151 const word& regionType,
virtual ~regionFaModel()=default
Destructor.
const Time & time_
Reference to the time database.
const dictionary & solution() const
Return the solution dictionary.
bool isRegionPatch(const label patchi) const
True if patchi on the primary region is coupled to this region.
Switch infoOutput() const noexcept
Return the information flag.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const volSurfaceMapping & vsm() const
Return mapping between surface and volume fields.
autoPtr< IOdictionary > outputPropertiesPtr_
Dictionary of output properties.
TypeName("regionFaModel")
Runtime type information.
virtual void postEvolveRegion()
Post-evolve region.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
Volume to surface and surface to volume mapping.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
autoPtr< faMesh > regionMeshPtr_
Pointer to the region mesh database.
word regionName_
Region name.
dictionary()
Default construct, a top-level empty dictionary.
Switch infoOutput_
Active information output.
virtual void info()=0
Provide some feedback.
const word modelName_
Model name.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
A class for handling words, derived from Foam::string.
regionFaModel(const fvMesh &mesh, const word ®ionType, const word &modelName, const dictionary &dict, bool readFields=true)
Construct from mesh and name and dict.
const fvMesh & primaryMesh() const noexcept
Return the reference to the primary mesh database.
dictionary coeffs_
Model coefficients dictionary.
void operator=(const regionFaModel &)=delete
No copy assignment.
const faMesh & regionMesh() const
Return the region mesh database.
virtual scalar CourantNumber() const
Courant number of the region.
Switch active() const noexcept
Return the active flag.
virtual void preEvolveRegion()
Pre-evolve region.
Base class for area region models.
const fvMesh & primaryMesh_
Reference to the primary mesh database.
const labelList & primaryPatchIDs() const
List of patch IDs on the primary region coupled to this region.
static const word regionFaModelName
Default name regionFaModel.
Mesh data needed to do the Finite Volume discretisation.
virtual void evolveRegion()
Evolve the region.
const Time & time() const noexcept
Return the reference to the time database.
virtual void evolve()
Main driver routing to evolve the region - calls other evolves.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
const word & modelName() const noexcept
Return the model name.
Switch active_
Active flag.
autoPtr< volSurfaceMapping > vsmPtr_
Volume/surface mapping.
const dictionary & coeffs() const noexcept
Return the model coefficients dictionary.
const IOdictionary & outputProperties() const
Return const access to the output properties dictionary.