35 #ifndef virtualMassModel_H 36 #define virtualMassModel_H 83 (dict, pair, registerObject)
100 const bool registerObject
static autoPtr< virtualMassModel > New(const dictionary &dict, const phasePair &pair)
virtual ~virtualMassModel()
Destructor.
bool writeData(Ostream &os) const
Pure virtual writaData function.
virtual tmp< surfaceScalarField > Kf() const
Return the virtual mass coefficient Kf.
virtualMassModel(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
A list of keyword definitions, which are a keyword followed by any number of values (e...
TypeName("virtualMassModel")
Runtime type information.
virtual tmp< volScalarField > Ki() const
Return the phase-intensive virtual mass coefficient Ki.
static const dimensionSet dimK
Coefficient dimensions.
Dimension set for the base types.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
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...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
bool & registerObject()
Register object created from this IOobject with registry if true.
const phasePair & pair_
Phase pair.
virtual tmp< volScalarField > K() const
Return the virtual mass coefficient K.