34 namespace kineticTheoryModels
36 namespace frictionalStressModels
60 coeffDict_(
dict.optionalSubDict(typeName +
"Coeffs")),
62 eta_(
"eta",
dimless, coeffDict_),
64 phi_(
"phi",
dimless, coeffDict_),
65 alphaDeltaMin_(
"alphaDeltaMin",
dimless, coeffDict_)
92 Fr_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_)
110 eta_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_ - 1)
112 + p_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_)
131 Foam::typedName<frictionalStressModel>(
"nu"),
141 coeffDict_ <<= dict_.optionalSubDict(typeName +
"Coeffs");
143 Fr_.read(coeffDict_);
144 eta_.read(coeffDict_);
147 phi_.read(coeffDict_);
150 alphaDeltaMin_.read(coeffDict_);
static const Foam::dimensionedScalar D("D", Foam::dimTemperature, 257.14)
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
static word group(const word &name)
Return group (extension part of name)
static word groupName(Name name, const word &group)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Dimension set for the base types.
virtual ~JohnsonJackson()
Destructor.
JohnsonJackson(const dictionary &dict)
Construct from components.
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
A class for managing temporary objects.
dimensionedScalar alphaMax(viscosity->lookup("alphaMax"))
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
defineTypeNameAndDebug(JohnsonJackson, 0)
addToRunTimeSelectionTable(frictionalStressModel, JohnsonJackson, dictionary)
const dimensionSet dimless
dimensionedScalar sin(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimTime
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)