67 namespace laminarModels
74 template<
class BasicTurbulenceModel>
106 typedef typename BasicTurbulenceModel::alphaField
alphaField;
107 typedef typename BasicTurbulenceModel::rhoField
rhoField;
108 typedef typename BasicTurbulenceModel::transportModel
transportModel;
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 tmp< volSymmTensorField > devRhoReff() const
Return the effective stress tensor.
BasicTurbulenceModel::transportModel transportModel
virtual ~Maxwell()=default
Destructor.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
BasicTurbulenceModel::rhoField rhoField
BasicTurbulenceModel::alphaField alphaField
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::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.
virtual void correct()
Solve the turbulence equations and correct eddy-Viscosity and related properties. ...
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.