26 #include "JohnsonJacksonFrictionalStress.H" 34 namespace kineticTheoryModels
36 namespace frictionalStressModels
42 frictionalStressModel,
56 const dictionary&
dict 59 frictionalStressModel(dict),
60 coeffDict_(dict.optionalSubDict(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_)
84 const phaseModel& phase,
92 Fr_*
pow(
max(alpha - alphaMinFriction, scalar(0)), eta_)
93 /
pow(
max(alphaMax - alpha, alphaDeltaMin_), p_);
101 const phaseModel& phase,
110 eta_*
pow(
max(alpha - alphaMinFriction, scalar(0)), eta_ - 1)
112 + p_*
pow(
max(alpha - alphaMinFriction, scalar(0)), eta_)
113 )/
pow(
max(alphaMax - alpha, alphaDeltaMin_), p_ + 1);
120 const phaseModel& phase,
135 Fr_.
read(coeffDict_);
136 eta_.read(coeffDict_);
139 phi_.read(coeffDict_);
142 alphaDeltaMin_.read(coeffDict_);
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
bool read(Istream &)
Read dictionary from Istream.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
Macros for easy insertion into run-time selection tables.
virtual ~JohnsonJackson()
Destructor.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
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.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
JohnsonJackson(const dictionary &dict)
Construct from components.
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const