58 #ifndef phaseLimitStabilisation_H 59 #define phaseLimitStabilisation_H 87 scalar residualAlpha_;
102 const word& fieldName
109 TypeName(
"phaseLimitStabilisation");
118 const word& modelType,
const word & name() const
Return const access to the source name.
virtual bool read(const dictionary &dict)
Read dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
FOR_ALL_FIELD_TYPES(DEFINE_FV_MODEL_ADD_ALPHA_RHO_SUP)
Add a source term to a phase equation.
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)
Finite volume model abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
virtual ~phaseLimitStabilisation()
Destructor.
phaseLimitStabilisation(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
A class for handling words, derived from string.
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.
TypeName("phaseLimitStabilisation")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
Stabilisation source for phase transport equations.
void operator=(const phaseLimitStabilisation &)=delete
Disallow default bitwise assignment.