Go to the documentation of this file.
37 namespace kineticTheoryModels
39 namespace frictionalStressModels
45 frictionalStressModel,
58 const dictionary&
dict
61 frictionalStressModel(
dict),
62 coeffDict_(
dict.optionalSubDict(typeName +
"Coeffs")),
63 phi_(
"phi",
dimless, coeffDict_)
81 const phaseModel& phase,
98 const phaseModel& phase,
114 const phaseModel& phase,
123 tmp<volScalarField> tnu
130 phase.mesh().time().timeName(),
148 0.5*pf[celli]*
sin(phi_.value())
159 volScalarField::Boundary& nufBf = nuf.boundaryFieldRef();
167 pf.boundaryField()[patchi]*
sin(phi_.value())
169 mag(
U.boundaryField()[patchi].snGrad())
177 nuf.correctBoundaryConditions();
185 coeffDict_ <<= dict_.optionalSubDict(typeName +
"Coeffs");
187 phi_.read(coeffDict_);
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
A class for managing temporary objects.
static constexpr const zero Zero
const dimensionedScalar alpha
dimensionedScalar sin(const dimensionedScalar &ds)
Unit conversion functions.
const Type & value() const
PtrList< fvPatch > fvPatchList
container classes for fvPatch
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.
Cmpt invariantII(const SymmTensor< Cmpt > &st)
constexpr scalar degToRad(const scalar deg) noexcept
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
Schaeffer(const dictionary &dict)
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Internal & ref(const bool updateAccessTime=true)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const dimensionedScalar & D
const polyBoundaryMesh & patches
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
bool coupled(solutionDict.getOrDefault("coupledEnergyField", false))
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
const dimensionSet dimless