32 Foam::scalar Foam::epsilonmWallFunctionFvPatchScalarField::tolerance_ = 1
e-1;
94 if (manipulatedMatrix())
101 scalarField weights(patch().magSf()/patch().patch().magFaceAreas());
104 scalar& w = weights[facei];
105 w = w <= tolerance_ ? 0 : (w - tolerance_)/(1 - tolerance_);
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
This boundary condition provides a turbulence dissipation wall constraint for the Foam::mixtureKEpsil...
epsilonmWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void manipulateMatrix(fvMatrix< scalar > &matrix)
Manipulate matrix.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Macros for easy insertion into run-time selection tables.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Foam::fvPatchFieldMapper.
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.
void setValues(const labelUList &cells, const ListType< Type > &values)
Set solution in given cells to the specified values.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const dimensionedScalar e
Elementary charge.