79#ifndef epsilonWallFunctionFvPatchScalarField_H
80#define epsilonWallFunctionFvPatchScalarField_H
97class epsilonWallFunctionFvPatchScalarField
99 public fixedValueFvPatchField<scalar>,
100 private wallFunctionBlenders
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition provides wall functions for the turbulent kinetic energy dissipation rate (i....
virtual tmp< fvPatchScalarField > clone(const DimensionedField< scalar, volMesh > &iF) const
Construct and return a clone setting internal field reference.
scalarField G_
Local copy of turbulence G field.
List< List< scalar > > cornerWeights_
List of averaging corner weights.
scalarField epsilon_
Local copy of turbulence epsilon field.
void writeLocalEntries(Ostream &) const
Write local wall function variables.
virtual void manipulateMatrix(fvMatrix< scalar > &matrix)
Manipulate matrix.
virtual ~epsilonWallFunctionFvPatchScalarField()=default
Destructor.
bool initialised_
Initialised flag.
static scalar tolerance_
Tolerance used in weighted calculations.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
const bool lowReCorrection_
Apply low-Re correction term (default = no)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void createAveragingWeights()
wallFunctionCoefficients wallCoeffs_
Wall-function coefficients.
virtual void calculate(const turbulenceModel &turbulence, const List< scalar > &cornerWeights, const fvPatch &patch, scalarField &G, scalarField &epsilon)
Calculate the epsilon and G.
virtual label & master()
Return non-const access to the master patch ID.
label master_
Master patch ID.
TypeName("epsilonWallFunction")
Runtime type information.
scalarField & G(bool init=false)
Return non-const access to the master's G field.
virtual void updateWeightedCoeffs(const scalarField &weights)
Update the coefficients associated with the patch field.
virtual epsilonWallFunctionFvPatchScalarField & epsilonPatch(const label patchi)
Helper function to return non-const access to an epsilon patch.
virtual void calculateTurbulenceFields(const turbulenceModel &turbulence, scalarField &G0, scalarField &epsilon0)
Main driver to calculate the turbulence fields.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
A FieldMapper for finite-volume patch fields.
const fvPatch & patch() const
Return patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
Abstract base class for turbulence models (RAS, LES and laminar).
The class wallFunctionBlenders is a base class that hosts common entries for various derived wall-fun...
Class to host the wall-function coefficients being used in the wall function boundary conditions.
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.