37 #ifndef regionModel1D_H 38 #define regionModel1D_H 48 namespace regionModels
68 void constructMeshObjects();
115 const scalar minDelta = 0.0
131 const word& regionType
138 const word& regionType,
147 const word& regionType,
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Base class for 1-D region models.
tmp< labelField > moveMesh(const scalarList &deltaV, const scalar minDelta=0.0)
Move mesh points according to change in cell volumes.
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.
const labelList & boundaryFaceOppositeFace() const
Return the global boundary face IDs oppositte coupled patch.
label nLayers() const
Return the number of layers in the region.
const word & modelName() const noexcept
Return the model name.
const labelListList & boundaryFaceFaces() const
Return the global face IDs.
Switch moveMesh_
Flag to allow mesh movement.
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.
virtual ~regionModel1D()
Destructor.
A class for handling words, derived from Foam::string.
autoPtr< surfaceScalarField > nMagSfPtr_
Face area magnitude normal to patch.
labelListList boundaryFaceCells_
Global cell IDs.
labelListList boundaryFaceFaces_
Global face IDs.
const surfaceScalarField & nMagSf() const
Return the face area magnitudes / [m2].
TypeName("regionModel1D")
Runtime type information.
virtual bool read()
Read control parameters from dictionary.
Mesh data needed to do the Finite Volume discretisation.
Base class for region models.
label nLayers_
Number of layers in the region.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
const labelListList & boundaryFaceCells() const
Return the global cell IDs.
labelList boundaryFaceOppositeFace_
Global boundary face IDs oppositte coupled patch.