41#ifndef turbulenceModel_H
42#define turbulenceModel_H
123 virtual bool read() = 0;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Distance calculation for cells with face on a wall. Searches pointNeighbours to find closest.
A class for managing temporary objects.
Abstract base class for turbulence models (RAS, LES and laminar).
const volVectorField & U() const
Access function to velocity field.
virtual tmp< scalarField > nut(const label patchi) const =0
Return the turbulence viscosity on patch.
virtual ~turbulenceModel()=default
Destructor.
static const word propertiesName
Default name of the turbulence properties dictionary.
virtual tmp< volScalarField > k() const =0
Return the turbulence kinetic energy.
virtual tmp< volScalarField > mut() const =0
Return the turbulence dynamic viscosity.
const surfaceScalarField & alphaRhoPhi() const
Access function to phase flux field.
const Time & time() const
virtual tmp< volScalarField > nu() const =0
Return the laminar viscosity.
virtual tmp< scalarField > mut(const label patchi) const =0
Return the turbulence dynamic viscosity on patch.
nearWallDist y_
Near wall distance boundary field.
virtual void validate()
Validate the turbulence fields after construction.
word GName() const
Helper function to return the name of the turbulence G field.
const surfaceScalarField & phi_
virtual tmp< scalarField > nu(const label patchi) const =0
Return the laminar viscosity on patch.
virtual tmp< volScalarField > nut() const =0
Return the turbulence viscosity.
virtual bool read()=0
Read model coefficients if they have changed.
virtual tmp< scalarField > muEff(const label patchi) const =0
Return the effective dynamic viscosity on patch.
const nearWallDist & y() const
Return the near wall distances.
const volVectorField & U_
virtual tmp< volScalarField > omega() const =0
Return the specific dissipation rate.
virtual tmp< volScalarField > nuEff() const =0
Return the effective viscosity.
virtual tmp< scalarField > nuEff(const label patchi) const =0
Return the effective viscosity on patch.
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
const fvMesh & mesh() const
const surfaceScalarField & alphaRhoPhi_
virtual const dictionary & coeffDict() const =0
Const access to the coefficients dictionary.
virtual tmp< volSymmTensorField > R() const =0
Return the Reynolds stress tensor.
virtual tmp< volScalarField > muEff() const =0
Return the effective dynamic viscosity.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux field.
TypeName("turbulenceModel")
Runtime type information.
virtual tmp< scalarField > mu(const label patchi) const =0
Return the laminar dynamic viscosity on patch.
virtual tmp< volScalarField > epsilon() const =0
Return the turbulence kinetic energy dissipation rate.
virtual tmp< volScalarField > mu() const =0
Return the laminar dynamic viscosity.
A class for handling words, derived from Foam::string.
Forward declarations of fvMatrix specializations.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.