60 namespace laminarModels
67 template<
class BasicTurbulenceModel>
99 typedef typename BasicTurbulenceModel::alphaField
alphaField;
100 typedef typename BasicTurbulenceModel::rhoField
rhoField;
101 typedef typename BasicTurbulenceModel::transportModel
transportModel;
113 const alphaField&
alpha,
118 const transportModel& transport,
virtual tmp< fvVectorMatrix > divDevRhoReff(volVectorField &U) const
Return the source term for the momentum equation.
Templated abstract base class for laminar transport models.
Maxwell model for viscoelasticity using the upper-convected time derivative of the stress tensor...
BasicTurbulenceModel::rhoField rhoField
virtual ~Maxwell()
Destructor.
virtual tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from string.
Maxwell(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
Construct from components.
BasicTurbulenceModel::alphaField alphaField
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
volSymmTensorField sigma_
dimensionedScalar lambda_
virtual bool read()
Read model coefficients if they have changed.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
virtual void correct()
Solve the turbulence equations and correct eddy-Viscosity and.
BasicTurbulenceModel::transportModel transportModel
TypeName("Maxwell")
Runtime type information.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
tmp< volScalarField > nu0() const
Return the turbulence viscosity.