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,
143 Fr_.
read(coeffDict_);
144 eta_.read(coeffDict_);
147 phi_.read(coeffDict_);
150 alphaDeltaMin_.read(coeffDict_);
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
const dimensionSet dimless
bool read(Istream &, const bool keepHeader=false)
Read dictionary from Istream, optionally keeping the header.
Macros for easy insertion into run-time selection tables.
virtual ~JohnsonJackson()
Destructor.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimTime
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
static word groupName(Name name, const word &group)
dimensionedScalar sin(const dimensionedScalar &ds)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
const dictionary & dict_
Reference to higher-level dictionary for re-read.
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
static word modelName(Name name, const word &model)
Return the name of the object within the given model.
A class for managing temporary objects.
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