37#ifndef regionModel1D_H
38#define regionModel1D_H
68 void constructMeshObjects();
115 const scalar minDelta = 0.0
131 const word& regionType
138 const word& regionType,
147 const word& regionType,
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
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,...
Mesh data needed to do the Finite Volume discretisation.
Base class for 1-D region models.
TypeName("regionModel1D")
Runtime type information.
tmp< labelField > moveMesh(const scalarList &deltaV, const scalar minDelta=0.0)
Move mesh points according to change in cell volumes.
const surfaceScalarField & nMagSf() const
Return the face area magnitudes / [m2].
labelListList boundaryFaceFaces_
Global face IDs.
labelList boundaryFaceOppositeFace_
Global boundary face IDs oppositte coupled patch.
autoPtr< surfaceScalarField > nMagSfPtr_
Face area magnitude normal to patch.
virtual ~regionModel1D()
Destructor.
Switch moveMesh_
Flag to allow mesh movement.
const labelListList & boundaryFaceCells() const
Return the global cell IDs.
label nLayers() const
Return the number of layers in the region.
const labelListList & boundaryFaceFaces() const
Return the global face IDs.
const labelList & boundaryFaceOppositeFace() const
Return the global boundary face IDs oppositte coupled patch.
label nLayers_
Number of layers in the region.
labelListList boundaryFaceCells_
Global cell IDs.
virtual bool read()
Read control parameters from dictionary.
Base class for region models.
const word & modelName() const
Return the model name.
A class for managing temporary objects.
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.