61 coeffDict_(
dict.optionalSubDict(typeName +
"Coeffs")),
74Foam::tmp<Foam::volScalarField>
89 scalar(1) + da/(6.0*
sqrt(2.0)*(
alpha1 + scalar(1.0e-5)))/L_
92 return da*
sqrt(Theta)*
95 + (1.0/15.0)*sqrtPi*g0*(1.0 +
e)*(3.0*
e - 1)*
sqr(
alpha1)/(3.0-
e)
96 + (1.0/6.0)*sqrtPi*
alpha1*(0.5*lamda + 0.25*(3.0*
e - 1.0))
97 /(0.5*(3.0 -
e)*lamda)
98 + (10/96.0)*sqrtPi/((1.0 +
e)*0.5*(3.0 -
e)*g0*lamda)
105 coeffDict_ <<= dict_.optionalSubDict(
typeName +
"Coeffs");
107 L_.readIfPresent(coeffDict_);
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 & alpha1
tmp< volScalarField > nu(const volScalarField &alpha1, const volScalarField &Theta, const volScalarField &g0, const volScalarField &rho1, const volScalarField &da, const dimensionedScalar &e) const
HrenyaSinclair(const dictionary &dict)
Construct from components.
virtual ~HrenyaSinclair()
Destructor.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
constexpr scalar pi(M_PI)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.