29 #include "phasePair.H" 36 namespace virtualMassModels
42 constantVirtualMassCoefficient,
54 const dictionary&
dict,
55 const phasePair& pair,
56 const bool registerObject
59 virtualMassModel(
dict, pair, registerObject),
76 const fvMesh&
mesh = this->pair_.phase1().mesh();
virtual tmp< volScalarField > Cvm() const
Virtual mass coefficient.
addToRunTimeSelectionTable(virtualMassModel, constantVirtualMassCoefficient, dictionary)
virtual ~constantVirtualMassCoefficient()
Destructor.
const dimensionSet dimless
Dimensionless.
Macros for easy insertion into run-time selection tables.
constantVirtualMassCoefficient(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
defineTypeNameAndDebug(constantVirtualMassCoefficient, 0)
A class for managing temporary objects.
Do not request registration (bool: false)