106 const bool outer=
true,
Wrapper class for interfacial models for which multiple instances of the model are used for different...
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...
tmp< surfaceScalarField > Kf() const
Return the drag coefficient Kf.
tmp< volScalarField > K() const
Return the drag coefficient K.
static autoPtr< blendedDragModel > New(const dictionary &dict, const phaseInterface &interface, const dictionary &blendingDict)
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Dimension set for the base types.
Model for drag between phases.
dragModel(const dictionary &dict, const phaseInterface &interface, const bool registerObject)
declareRunTimeSelectionTable(autoPtr, dragModel, dictionary,(const dictionary &dict, const phaseInterface &interface, const bool registerObject),(dict, interface, registerObject))
virtual ~dragModel()
Destructor.
virtual tmp< surfaceScalarField > Kf() const =0
Return the drag coefficient Kf.
static autoPtr< dragModel > New(const dictionary &dict, const phaseInterface &interface, const bool outer=true, const bool registerObject=true)
bool writeData(Ostream &os) const
Dummy write for regIOobject.
virtual tmp< volScalarField > K() const =0
Return the drag coefficient K.
TypeName("dragModel")
Runtime type information.
static const dimensionSet dimK
Coefficient dimensions.
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.
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.