49 const phasePair& pair,
50 const bool registerObject
53 dragModel(
dict, pair, registerObject),
66Foam::tmp<Foam::volScalarField>
71 max(scalar(1) - pair_.dispersed(), pair_.continuous().residualAlpha())
85 *
max(pair_.continuous(), pair_.continuous().residualAlpha());
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
const volScalarField & alpha2
Gidaspow, Schiller and Naumann drag model.
GidaspowSchillerNaumann(const dictionary &dict, const phasePair &pair, const bool registerObject)
Construct from a dictionary and a phase pair.
virtual ~GidaspowSchillerNaumann()
Destructor.
virtual tmp< volScalarField > CdRe() const
Drag coefficient.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
const dimensionSet dimless
Dimensionless.
dimensionedScalar pos0(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar neg(const dimensionedScalar &ds)
scalarField Re(const UList< complex > &cmplx)
Extract real component.