35 template<
class BasicTurbulenceModel>
44 const word& propertiesName
63 template<
class BasicTurbulenceModel>
73 const word& propertiesName
94 template<
class BasicTurbulenceModel>
98 return dictionary::null;
102 template<
class BasicTurbulenceModel>
109 template<
class BasicTurbulenceModel>
119 IOobject::groupName(
"nut", this->U_.group()),
120 this->runTime_.timeName(),
133 template<
class BasicTurbulenceModel>
147 template<
class BasicTurbulenceModel>
155 IOobject::groupName(
"nuEff", this->U_.group()), this->
nu()
161 template<
class BasicTurbulenceModel>
168 return this->
nu(patchi);
172 template<
class BasicTurbulenceModel>
182 IOobject::groupName(
"k", this->U_.group()),
183 this->runTime_.timeName(),
196 template<
class BasicTurbulenceModel>
206 IOobject::groupName(
"epsilon", this->U_.group()),
207 this->runTime_.timeName(),
216 "epsilon",
sqr(this->U_.dimensions())/
dimTime, 0.0
223 template<
class BasicTurbulenceModel>
233 IOobject::groupName(
"R", this->U_.group()),
234 this->runTime_.timeName(),
243 "R",
sqr(this->U_.dimensions()),
Zero 250 template<
class BasicTurbulenceModel>
virtual tmp< volScalarField > nuEff() const
Return the effective viscosity, i.e. the laminar viscosity.
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual tmp< volScalarField > nut() const
Return the turbulence viscosity, i.e. 0 for laminar flow.
virtual bool read()
Read turbulenceProperties dictionary.
const dimensionSet dimViscosity
Calculate the matrix for the laplacian of the field.
Linear viscous stress turbulence model base class.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor, i.e. 0 for laminar flow.
static autoPtr< laminar > New(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Return a reference to the selected turbulence model.
virtual tmp< volScalarField > k() const
Return the turbulence kinetic energy, i.e. 0 for laminar flow.
BasicTurbulenceModel::alphaField alphaField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void correct()
Correct the laminar viscosity.
BasicTurbulenceModel::rhoField rhoField
virtual const dictionary & coeffDict() const
Const access to the coefficients dictionary.
Calculate the gradient of the given field.
A class for handling words, derived from string.
BasicTurbulenceModel::transportModel transportModel
Calculate the divergence of the given field.
volScalarField scalarField(fieldObject, mesh)
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(psi *p+alphal *rhol0+((alphav *psiv+alphal *psil)-psi)*pSat, rhoMin);#1"/home/ubuntu/OpenFOAM-4.1/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H"1{alphav=max(min((rho-rholSat)/(rhovSat-rholSat), scalar(1)), scalar(0));alphal=1.0-alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual tmp< volScalarField > epsilon() const
Return the turbulence kinetic energy dissipation rate,.
laminar(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
Construct from components.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Turbulence model for laminar flow.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...