51 class swarmCorrection;
66 const phasePair&
pair_;
86 const dictionary&
dict,
87 const phasePair& pair,
97 static const dimensionSet
dimK;
105 const phasePair& pair,
112 const dictionary&
dict,
113 const phasePair& pair,
124 static autoPtr<dragModel>
New 126 const dictionary&
dict,
127 const phasePair& pair
134 virtual tmp<volScalarField>
CdRe()
const = 0;
140 virtual tmp<volScalarField>
Ki()
const;
146 virtual tmp<volScalarField>
K()
const;
150 virtual tmp<surfaceScalarField>
Kf()
const;
TypeName("dragModel")
Runtime type information.
static const dimensionSet dimK
Coefficient dimensions.
const phasePair & pair_
Phase pair.
declareRunTimeSelectionTable(autoPtr, dragModel, dictionary,(const dictionary &dict, const phasePair &pair, const bool registerObject),(dict, pair, registerObject))
bool writeData(Ostream &os) const
Dummy write for regIOobject.
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
dragModel(const phasePair &pair, const bool registerObject)
OBJstream os(runTime.globalPath()/outputName)
bool registerObject() const noexcept
Should objects created with this IOobject be registered?
virtual ~dragModel()
Destructor.
virtual tmp< surfaceScalarField > Kf() const
Return the drag coefficient Kf.
Macros to ease declaration of run-time selection tables.
autoPtr< swarmCorrection > swarmCorrection_
Swarm correction.
virtual tmp< volScalarField > CdRe() const =0
Drag coefficient.
static autoPtr< dragModel > New(const dictionary &dict, const phasePair &pair)
virtual tmp< volScalarField > Ki() const
Return the phase-intensive drag coefficient Ki.