Go to the documentation of this file.
37 namespace kineticTheoryModels
39 namespace frictionalStressModels
45 frictionalStressModel,
62 coeffDict_(
dict.optionalSubDict(typeName +
"Coeffs")),
63 phi_(
"phi",
dimless, coeffDict_)
130 phase.mesh().time().timeName(),
148 0.5*pf[celli]*
sin(phi_.value())
163 if (!
patches[patchi].coupled())
169 mag(
U.boundaryField()[patchi].snGrad())
185 coeffDict_ <<= dict_.optionalSubDict(typeName +
"Coeffs");
187 phi_.read(coeffDict_);
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
virtual tmp< volScalarField > frictionalPressure(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
dimensionedScalar sin(const dimensionedScalar &ds)
virtual ~Schaeffer()
Destructor.
Unit conversion functions.
const Type & value() const
Return const reference to value.
Dimension set for the base types.
#define forAll(list, i)
Loop across all elements in list.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedScalar alphaMax("alphaMax", dimless/dimTime, laminarTransport)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Cmpt invariantII(const SymmTensor< Cmpt > &st)
Return the 2nd invariant of a SymmTensor.
constexpr scalar degToRad(const scalar deg) noexcept
Conversion from degrees to radians.
virtual tmp< volScalarField > frictionalPressurePrime(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax) const
void correctBoundaryConditions()
Correct boundary field.
Schaeffer(const dictionary &dict)
Construct from components.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
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)
addToRunTimeSelectionTable(frictionalStressModel, JohnsonJackson, dictionary)
defineTypeNameAndDebug(JohnsonJackson, 0)
virtual tmp< volScalarField > nu(const phaseModel &phase, const dimensionedScalar &alphaMinFriction, const dimensionedScalar &alphaMax, const volScalarField &pf, const volSymmTensorField &D) const
const Boundary & boundaryField() const
Return const-reference to the boundary field.