Go to the documentation of this file.
67 #ifndef regionFaModel_H
68 #define regionFaModel_H
83 namespace regionModels
97 void constructMeshObjects();
166 const word& regionType,
251 virtual void info() = 0;
const dictionary & solution() const
Return the solution dictionary.
static const word regionFaModelName
Default name regionFaModel.
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.
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.
dictionary()
Default construct, a top-level empty dictionary.
const Switch & infoOutput() const
Return the information flag.
Switch active_
Active flag.
label patchID_
Patch IDs on the primary region coupled to this region.
virtual scalar CourantNumber() const
Courant number of the 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 mapping between surface and volume fields.
dictionary coeffs_
Model coefficients dictionary.
const word modelName_
Model name.
virtual void info()=0
Provide some feedback.
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.
Base class for area region models.
label patchID() const
Return patch ID.
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.
const IOdictionary & outputProperties() const
Return const access to the output properties dictionary.
autoPtr< IOdictionary > outputPropertiesPtr_
Dictionary of output properties.
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.