70 #ifndef volumeBlockage_H
71 #define volumeBlockage_H
104 word volumePhaseName_;
122 template<
class Type,
class AlphaFieldType>
123 void addGeneralSupType
125 const AlphaFieldType&
alpha,
130 template<
class Type,
class AlphaFieldType>
133 const AlphaFieldType&
alpha,
139 template<
class AlphaFieldType>
142 const AlphaFieldType&
alpha,
148 template<
class AlphaFieldType>
151 const AlphaFieldType&
alpha,
196 const word& modelType,
Generic GeometricField class.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
static const word & fieldName()
Return the name of the field associated with a source term. Special.
This fvModel adds transport terms into the equations to account for the presence of a constant volume...
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
volumeBlockage(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
virtual bool movePoints()
Add a source term to an equation.
virtual bool read(const dictionary &dict)
Read dictionary.
void operator=(const volumeBlockage &)=delete
Disallow default bitwise assignment.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
TypeName("volumeBlockage")
Runtime type information.
virtual bool addsSupToField(const word &fieldName) const
Return true if the fvModel adds a source term to the given.
virtual ~volumeBlockage()
Destructor.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for managing temporary objects.
A class for handling words, derived from string.
#define DEFINE_FV_MODEL_ADD_ALPHA_RHO_FIELD_SUP(Type, nullArg)
#define DEFINE_FV_MODEL_ADD_RHO_FIELD_SUP(Type, nullArg)
#define DEFINE_FV_MODEL_ADD_FIELD_SUP(Type, nullArg)
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)