34 namespace kineticTheoryModels
36 namespace frictionalStressModels
53 bool Foam::kineticTheoryModels::frictionalStressModels::JohnsonJackson::
56 const dictionary& coeffDict
66 alphaDeltaMin_.
read(coeffDict);
82 eta_(
"eta",
dimless, coeffDict),
84 phi_(
"phi",
dimless, coeffDict),
85 alphaDeltaMin_(
"alphaDeltaMin",
dimless, coeffDict)
112 Fr_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_)
130 eta_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_ - 1)
132 + p_*
pow(
max(
alpha - alphaMinFriction, scalar(0)), eta_)
151 Foam::typedName<frictionalStressModel>(
"nu"),
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Dimension set for the base types.
void read(const dictionary &, const unitConversion &defaultUnits=NullObjectRef< unitConversion >())
Update the value of dimensioned<Type>
virtual ~JohnsonJackson()
Destructor.
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
JohnsonJackson(const dictionary &coeffDict)
Construct from the coefficients dictionary.
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)
static const coefficient D("D", dimTemperature, 257.14)
const dimensionSet dimless
dimensionedScalar sin(const dimensionedScalar &ds)
const dimensionSet dimTime
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)