69 namespace laminarModels
76 template<
class BasicMomentumTransportModel>
117 return this->nu() +
nuM_;
129 typedef typename BasicMomentumTransportModel::alphaField
alphaField;
130 typedef typename BasicMomentumTransportModel::rhoField
rhoField;
Generic GeometricField class.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Dimension set for the base types.
Templated abstract base class for laminar transport models.
BasicMomentumTransportModel::alphaField alphaField
BasicMomentumTransportModel::rhoField rhoField
Generalised Maxwell model for viscoelasticity using the upper-convected time derivative of the stress...
BasicMomentumTransportModel::alphaField alphaField
volSymmTensorField sigma_
Single or mode sum viscoelastic stress.
virtual tmp< fvSymmTensorMatrix > sigmaSource(const label modei, volSymmTensorField &sigma) const
virtual tmp< volSymmTensorField > sigma() const
Return the stress tensor [m^2/s^2].
TypeName("Maxwell")
Runtime type information.
virtual void correct()
Correct the Maxwell stress.
PtrList< dimensionedScalar > lambdas_
virtual void predict()
The Maxwell stress is not predicted.
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity, i.e. the laminar viscosity.
virtual tmp< fvVectorMatrix > divDevTau(volVectorField &U) const
Return the source term for the momentum equation.
PtrList< dictionary > modeCoefficients_
PtrList< volSymmTensorField > sigmas_
Mode viscoelastic stresses.
Maxwell(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.
PtrList< dimensionedScalar > readModeCoefficients(const word &name, const dimensionSet &dims) const
virtual ~Maxwell()
Destructor.
virtual tmp< volSymmTensorField > devTau() const
Return the effective stress tensor.
tmp< volScalarField > nu0() const
Return the non-Newtonian viscosity.
virtual bool read()
Read model coefficients if they have changed.
BasicMomentumTransportModel::rhoField rhoField
A class for managing temporary objects.
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))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.