29 #include "phasePair.H" 36 namespace virtualMassModels
48 const dictionary&
dict,
49 const phasePair& pair,
50 const bool registerObject
53 virtualMassModel(
dict, pair, registerObject)
68 const fvMesh&
mesh = this->pair_.phase1().mesh();
addToRunTimeSelectionTable(virtualMassModel, constantVirtualMassCoefficient, dictionary)
const dimensionSet dimless
Dimensionless.
Macros for easy insertion into run-time selection tables.
virtual ~noVirtualMass()
Destructor.
virtual tmp< volScalarField > Cvm() const
Virtual mass coefficient.
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...
const dimensionSet dimDensity
virtual tmp< volScalarField > K() const
The virtual mass function K used in the momentum equation.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
noVirtualMass(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
defineTypeNameAndDebug(constantVirtualMassCoefficient, 0)
A class for managing temporary objects.
Do not request registration (bool: false)
static constexpr const zero Zero
Global zero (0)