32 template<
class BasicTurbulenceModel>
42 const word& propertiesName
61 IOobject::groupName(
"nut", alphaRhoPhi.group()),
62 this->runTime_.timeName(),
74 template<
class BasicTurbulenceModel>
81 template<
class BasicTurbulenceModel>
88 wordList patchFieldTypes(tk().boundaryField().types());
97 ->
found(patchFieldTypes[i])
110 IOobject::groupName(
"R", this->alphaRhoPhi_.group()),
111 this->runTime_.timeName(),
124 template<
class BasicTurbulenceModel>
131 template<
class BasicTurbulenceModel>
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
#define forAll(list, i)
Loop across all elements in list.
BasicTurbulenceModel::rhoField rhoField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Linear viscous stress turbulence model base class.
label k
Boltzmann constant.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
BasicTurbulenceModel::transportModel transportModel
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
virtual bool read()=0
Re-read model coefficients if they have changed.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
static const Identity< scalar > I
A class for handling words, derived from string.
This boundary condition is not designed to be evaluated; it is assmued that the value is assigned via...
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-6/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()
virtual void validate()
Validate the turbulence fields after construction.
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...
eddyViscosity(const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
Construct from components.
BasicTurbulenceModel::alphaField alphaField