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