36 #ifndef virtualMassModel_H
37 #define virtualMassModel_H
106 const bool outer=
true,
Wrapper class for interfacial models for which multiple instances of the model are used for different...
BlendedInterfacialModel(const dictionary &dict, const phaseInterface &interface, const dictionary &blendingDict, const Args &... args)
Construct from a dictionary, an interface and a blending dictionary.
const phaseInterface & interface() const
Access the interface.
bool & registerObject()
Register object created from this IOobject with registry if true.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< blendedVirtualMassModel > New(const dictionary &dict, const phaseInterface &interface, const dictionary &blendingDict)
tmp< volScalarField > K() const
Return the virtual mass coefficient K.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Dimension set for the base types.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for managing temporary objects.
Model for virtual mass between phases.
virtual ~virtualMassModel()
Destructor.
bool writeData(Ostream &os) const
Pure virtual writaData function.
declareRunTimeSelectionTable(autoPtr, virtualMassModel, dictionary,(const dictionary &dict, const phaseInterface &interface, const bool registerObject),(dict, interface, registerObject))
virtual tmp< volScalarField > K() const =0
Return the virtual mass coefficient K.
static autoPtr< virtualMassModel > New(const dictionary &dict, const phaseInterface &interface, const bool outer=true, const bool registerObject=true)
virtualMassModel(const dictionary &dict, const phaseInterface &interface, const bool registerObject)
Construct from a dictionary and an interface.
static const dimensionSet dimK
Coefficient dimensions.
TypeName("virtualMassModel")
Runtime type information.
void outer(LagrangianPatchField< typename outerProduct< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
const dictionary & blendingDict(const phaseSystem &fluid, const dictionary &dict)
Macros to ease declaration of run-time selection tables.