37 namespace kineticTheoryModels
39 namespace frictionalStressModels
63 coeffDict_(
dict.optionalSubDict(typeName +
"Coeffs")),
65 eta_(
"eta",
dimless, coeffDict_),
67 phi_(
"phi",
dimless, coeffDict_),
68 alphaDeltaMin_(
"alphaDeltaMin",
dimless, coeffDict_)
95 Fr_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_)
113 eta_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_ - 1)
136 coeffDict_ <<= dict_.optionalSubDict(typeName +
"Coeffs");
138 Fr_.read(coeffDict_);
139 eta_.read(coeffDict_);
142 phi_.read(coeffDict_);
145 alphaDeltaMin_.read(coeffDict_);
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Unit conversion functions.
const dimensionSet dimless
Dimensionless.
addToRunTimeSelectionTable(frictionalStressModel, JohnsonJackson, dictionary)
Macros for easy insertion into run-time selection tables.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
dimensionedScalar alphaMax("alphaMax", dimless/dimTime, laminarTransport)
defineTypeNameAndDebug(JohnsonJackson, 0)
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
dimensionedScalar sin(const dimensionedScalar &ds)
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const dimensionedScalar & D
A class for managing temporary objects.
virtual ~JohnsonJackson()
Destructor.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
constexpr scalar degToRad(const scalar deg) noexcept
Conversion from degrees to radians.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
JohnsonJackson(const dictionary &dict)
Construct from components.