70 #ifndef volumeFractionSource_H 71 #define volumeFractionSource_H 88 class volumeFractionSource
104 word volumePhaseName_;
122 template<
class Type,
class AlphaFieldType>
125 const AlphaFieldType&
alpha,
127 const word& fieldName
131 template<
class Type,
class AlphaFieldType>
134 const AlphaFieldType&
alpha,
136 const word& fieldName
140 template<
class AlphaFieldType>
143 const AlphaFieldType&
alpha,
145 const word& fieldName
149 template<
class AlphaFieldType>
152 const AlphaFieldType&
alpha,
154 const word& fieldName
167 const word& fieldName
177 const word& fieldName
195 const word& modelType,
TypeName("volumeFractionSource")
Runtime type information.
virtual ~volumeFractionSource()
Destructor.
FOR_ALL_FIELD_TYPES(DEFINE_FV_MODEL_ADD_SUP)
Add a source term to an equation.
const word & name() const
Return const access to the source name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define DEFINE_FV_MODEL_ADD_SUP(Type, nullArg)
virtual bool read(const dictionary &dict)
Read dictionary.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
#define DEFINE_FV_MODEL_ADD_ALPHA_RHO_SUP(Type, nullArg)
const fvMesh & mesh() const
Return const access to the mesh database.
void operator=(const volumeFractionSource &)=delete
Disallow default bitwise assignment.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
A class for handling words, derived from string.
#define DEFINE_FV_MODEL_ADD_RHO_SUP(Type, nullArg)
This fvModel adds transport terms into the equations to account for the presence of a constant volume...
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
volumeFractionSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
Mesh data needed to do the Finite Volume discretisation.
virtual bool addsSupToField(const word &fieldName) const
Return true if the fvModel adds a source term to the given.
A class for managing temporary objects.