48 class swarmCorrection;
63 const phasePair&
pair_;
83 const dictionary&
dict,
84 const phasePair& pair,
87 (dict, pair, registerObject)
94 static const dimensionSet
dimK;
102 const phasePair& pair,
103 const bool registerObject
109 const dictionary& dict,
110 const phasePair& pair,
111 const bool registerObject
121 static autoPtr<dragModel>
New 123 const dictionary& dict,
124 const phasePair& pair
131 virtual tmp<volScalarField>
CdRe()
const = 0;
137 virtual tmp<volScalarField>
Ki()
const;
143 virtual tmp<volScalarField>
K()
const;
147 virtual tmp<surfaceScalarField>
Kf()
const;
TypeName("dragModel")
Runtime type information.
static const dimensionSet dimK
Coefficient dimensions.
const phasePair & pair_
Phase pair.
virtual ~dragModel()
Destructor.
virtual tmp< surfaceScalarField > Kf() const
Return the drag coefficient Kf.
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
declareRunTimeSelectionTable(autoPtr, dragModel, dictionary,(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2),(interfaceDict, phase1, phase2))
static autoPtr< dragModel > New(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2)
bool writeData(Ostream &os) const
Dummy write for regIOobject.
virtual tmp< volScalarField > Ki() const
Return the phase-intensive drag coefficient Ki.
dragModel(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2)
Macros to ease declaration of run-time selection tables.
autoPtr< swarmCorrection > swarmCorrection_
Swarm correction.
virtual tmp< volScalarField > CdRe() const =0
Drag coefficient.
bool & registerObject()
Register object created from this IOobject with registry if true.