26 #include "JohnsonJacksonFrictionalStress.H" 34 namespace kineticTheoryModels
36 namespace frictionalStressModels
42 frictionalStressModel,
56 const dictionary&
dict 59 frictionalStressModel(dict),
60 coeffDict_(dict.subDict(typeName +
"Coeffs")),
61 Fr_(
"Fr", dimensionSet(1, -1, -2, 0, 0), coeffDict_),
62 eta_(
"eta",
dimless, coeffDict_),
64 phi_(
"phi",
dimless, coeffDict_),
65 alphaDeltaMin_(
"alphaDeltaMin",
dimless, coeffDict_)
91 Fr_*
pow(
max(alpha1 - alphaMinFriction, scalar(0)), eta_)
92 /
pow(
max(alphaMax - alpha1, alphaDeltaMin_), p_);
107 eta_*
pow(
max(alpha1 - alphaMinFriction, scalar(0)), eta_ - 1.0)
109 + p_*
pow(
max(alpha1 - alphaMinFriction, scalar(0)), eta_)
110 )/
pow(
max(alphaMax - alpha1, alphaDeltaMin_), p_ + 1.0);
132 Fr_.
read(coeffDict_);
133 eta_.read(coeffDict_);
136 phi_.read(coeffDict_);
139 alphaDeltaMin_.read(coeffDict_);
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
bool read(Istream &)
Read dictionary from Istream.
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
virtual ~JohnsonJackson()
Destructor.
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar sin(const dimensionedScalar &ds)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
const dictionary & dict_
Reference to higher-level dictionary for re-read.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A class for managing temporary objects.
JohnsonJackson(const dictionary &dict)
Construct from components.