64 #ifndef epsilonWallFunctionFvPatchScalarField_H 65 #define epsilonWallFunctionFvPatchScalarField_H 80 class epsilonWallFunctionFvPatchScalarField
82 public fixedValueFvPatchField<scalar>
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
scalarField G_
Local copy of turbulence G field.
TypeName("epsilonWallFunction")
Runtime type information.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void manipulateMatrix(fvMatrix< scalar > &matrix)
Manipulate matrix.
static scalar tolerance_
Tolerance used in weighted calculations.
virtual void calculate(const momentumTransportModel &turbModel, const List< scalar > &cornerWeights, const fvPatch &patch, scalarField &G, scalarField &epsilon)
Calculate the epsilon and G.
virtual void calculateTurbulenceFields(const momentumTransportModel &turbModel, scalarField &G0, scalarField &epsilon0)
Main driver to calculate the turbulence fields.
compressibleMomentumTransportModel momentumTransportModel
label master_
Master patch ID.
virtual label & master()
Return non-const access to the master patch ID.
Foam::fvPatchFieldMapper.
scalarField epsilon_
Local copy of turbulence epsilon field.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
This boundary condition provides a turbulence dissipation wall constraint for low- and high-Reynolds ...
const fvPatch & patch() const
Return patch.
scalarField & G(bool init=false)
Return non-const access to the master's G field.
virtual void updateCoeffs()
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 ~epsilonWallFunctionFvPatchScalarField()
Destructor.
Abstract base class for turbulence models (RAS, LES and laminar).
List< List< scalar > > cornerWeights_
List of averaging corner weights.
const dimensionedScalar G0
Conductance quantum: default SI units: [S].
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionedScalar epsilon0
Electric constant: default SI units: [F/m].
virtual void setMaster()
Set the master patch - master is responsible for updating all.
bool initialised_
Initialised flag.
A class for managing temporary objects.
virtual void createAveragingWeights()
Create the averaging weights for cells which are bounded by.
epsilonWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
tmp< fvPatchField< Type > > clone() const
Disallow clone without setting internal field reference.
scalarField & epsilon(bool init=false)
Return non-const access to the master's epsilon field.