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