Go to the documentation of this file.
37 namespace kineticTheoryModels
39 namespace frictionalStressModels
45 frictionalStressModel,
59 const dictionary&
dict
62 frictionalStressModel(
dict),
63 coeffDict_(
dict.optionalSubDict(typeName +
"Coeffs")),
64 Fr_(
"Fr", dimensionSet(1, -1, -2, 0, 0), coeffDict_),
65 eta_(
"eta",
dimless, coeffDict_),
67 phi_(
"phi",
dimless, coeffDict_),
68 alphaDeltaMin_(
"alphaDeltaMin",
dimless, coeffDict_)
87 const phaseModel& phase,
95 Fr_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_)
104 const phaseModel& phase,
113 eta_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_ - 1.0)
115 + p_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_)
123 const phaseModel& phase,
136 coeffDict_ <<= dict_.optionalSubDict(typeName +
"Coeffs");
138 Fr_.read(coeffDict_);
139 eta_.read(coeffDict_);
142 phi_.read(coeffDict_);
145 alphaDeltaMin_.read(coeffDict_);
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
A class for managing temporary objects.
const dimensionedScalar alpha
dimensionedScalar sin(const dimensionedScalar &ds)
Unit conversion functions.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
dimensionedScalar alphaMax("alphaMax", dimless/dimTime, laminarTransport)
defineTypeNameAndDebug(JohnsonJackson, 0)
addToRunTimeSelectionTable(frictionalStressModel, JohnsonJackson, dictionary)
Macros for easy insertion into run-time selection tables.
virtual ~JohnsonJackson()
constexpr scalar degToRad(const scalar deg) noexcept
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
JohnsonJackson(const dictionary &dict)
const dimensionedScalar & D
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
const dimensionSet dimless