46 const dictionary&
dict,
47 const phaseInterface& interface
50 dispersedLiftModel(dict, interface)
68 sqr(interface_.dispersed().d())
69 /interface_.continuous().thermo().nu()
75 min(
Re).value() < 1200.0
76 ||
max(
Re).value() > 18800.0
77 ||
min(sqrSr).value() < 0.0016
78 ||
max(sqrSr).value() > 0.04
82 <<
"Re and/or Sr are out of the range of applicability of the " 83 <<
"Moraga model. Clamping to range bounds" 93 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)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar exp(const dimensionedScalar &ds)
Calculate the gradient of the given field.
Moraga(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
#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)