37 #ifndef virtualMassModel_H 38 #define virtualMassModel_H bool writeData(Ostream &os) const
Pure virtual writeData function.
virtualMassModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
virtual tmp< volScalarField > K() const
Return the virtual mass coefficient K.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("virtualMassModel")
Runtime type information.
static const dimensionSet dimK
Coefficient dimensions.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
virtual tmp< surfaceScalarField > Kf() const
Return the virtual mass coefficient Kf.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< volScalarField > Cvm() const =0
Return the virtual mass coefficient.
declareRunTimeSelectionTable(autoPtr, virtualMassModel, dictionary,(const dictionary &dict, const phasePair &pair, const bool registerObject),(dict, pair, registerObject))
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
bool registerObject() const noexcept
Should objects created with this IOobject be registered?
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
const phasePair & pair_
Phase pair.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
static autoPtr< virtualMassModel > New(const dictionary &dict, const phasePair &pair)
virtual tmp< volScalarField > Ki() const
Return the phase-intensive virtual mass coefficient Ki.
virtual ~virtualMassModel()=default
Destructor.