33 namespace laminarModels
38 template<
class BasicMomentumTransportModel>
39 tmp<fvSymmTensorMatrix>
48 this->alpha_*this->rho_
49 *
exp(-epsilons_[modei]*this->lambdas_[modei]*
tr(
sigma)/this->nuM_)
50 /this->lambdas_[modei],
58 template<
class BasicMomentumTransportModel>
70 Maxwell<BasicMomentumTransportModel>
81 epsilons_(this->readModeCoefficients(
"epsilon",
dimless))
92 template<
class BasicMomentumTransportModel>
97 epsilons_ = this->readModeCoefficients(
"epsilon",
dimless);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
BasicMomentumTransportModel::alphaField alphaField
virtual void printCoeffs(const word &type)
Print model coefficients.
BasicMomentumTransportModel::rhoField rhoField
Generalised Maxwell model for viscoelasticity using the upper-convected time derivative of the stress...
virtual tmp< fvSymmTensorMatrix > sigmaSource(const label modei, volSymmTensorField &sigma) const
PTT(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
virtual bool read()
Re-read model coefficients if they have changed.
Abstract base class for all fluid physical properties.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimless
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.