27 #include "phasePair.H" 47 const dictionary&
dict,
76 min(
Re).value() < 1200.0
77 ||
max(
Re).value() > 18800.0
78 ||
min(sqrSr).value() < 0.0016
79 ||
max(sqrSr).value() > 0.04
83 <<
"Re and/or Sr are out of the range of applicability of the " 84 <<
"Moraga model. Clamping to range bounds" 94 return 0.2*
exp(-
Re*sqrSr/3.6e5 - 0.12)*
exp(
Re*sqrSr/3.0e7);
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const phasePair & pair_
Phase pair.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< volScalarField > d() const
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const volVectorField & U() const
virtual const phaseModel & continuous() const
Continuous phase.
dimensionedScalar exp(const dimensionedScalar &ds)
Calculate the gradient of the given field.
Moraga(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
tmp< volScalarField > Re() const
Reynolds number.
virtual const phaseModel & dispersed() const
Dispersed phase.
const dimensionedScalar & nu() const
Return the laminar viscosity.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
#define WarningInFunction
Report a warning using Foam::Warning.
virtual ~Moraga()
Destructor.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual tmp< volScalarField > Cl() const
Lift coefficient.
A class for managing temporary objects.
scalarField Re(const UList< complex > &cf)