71 sqr(pair_.dispersed().d())
72 /pair_.continuous().nu()
78 min(
Re).value() < 1200.0
79 ||
max(
Re).value() > 18800.0
80 ||
min(sqrSr).value() < 0.0016
81 ||
max(sqrSr).value() > 0.04
85 <<
"Re and/or Sr are out of the range of applicability of the "
86 <<
"Moraga model. Clamping to range bounds"
96 return 0.2*
exp(-
Re*sqrSr/3.6e5 - 0.12)*
exp(
Re*sqrSr/3.0e7);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void max(const dimensioned< Type > &dt)
Use the maximum of the field and specified value.
void min(const dimensioned< Type > &dt)
Use the minimum of the field and specified value.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Lift model of Moraga et al.
virtual tmp< volScalarField > Cl() const
Lift coefficient.
virtual ~Moraga()
Destructor.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Calculate the gradient of the given field.
#define WarningInFunction
Report a warning using Foam::Warning.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedScalar exp(const dimensionedScalar &ds)
scalarField Re(const UList< complex > &cf)
Extract real component.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.