29 #include "phasePair.H" 48 const dictionary&
dict,
49 const phasePair& pair,
50 const bool registerObject
53 dragModel(
dict, pair, registerObject),
70 max(scalar(1) - pair_.dispersed(), pair_.continuous().residualAlpha())
76 neg(Res - 1000)*24.0*(1.0 + 0.15*
pow(Res, 0.687))
77 +
pos0(Res - 1000)*0.44*
max(Res, residualRe_)
83 *
max(pair_.continuous(), pair_.continuous().residualAlpha());
WenYu(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
defineTypeNameAndDebug(AttouFerschneider, 0)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
const volScalarField & alpha2
const dimensionSet dimless
Dimensionless.
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~WenYu()
Destructor.
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
addToRunTimeSelectionTable(dragModel, AttouFerschneider, dictionary)
A class for managing temporary objects.