Go to the documentation of this file.
46 if (!isA<wallFvPatch>(patch()))
49 <<
"Invalid wall function specification" <<
nl
50 <<
" Patch type for patch " << patch().name()
51 <<
" must be wall" <<
nl
52 <<
" Current patch type is " << patch().type() <<
nl <<
endl
74 fixedValueFvPatchScalarField(
p, iF),
78 yPlusLam_(yPlusLam(kappa_, E_))
92 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
109 fixedValueFvPatchScalarField(
p, iF,
dict),
113 yPlusLam_(yPlusLam(kappa_, E_))
124 fixedValueFvPatchScalarField(wfpsf),
140 fixedValueFvPatchScalarField(wfpsf, iF),
160 for (
int i=0; i<10; i++)
178 fixedValueFvPatchScalarField::updateCoeffs();
186 writeEntry(
"value", os);
nutWallFunctionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
scalar yPlusLam_
Y+ at the edge of the laminar sublayer.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
scalar kappa_
Von Karman constant.
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< scalarField > calcNut() const =0
Calculate the turbulence viscosity.
A list of keyword definitions, which are a keyword followed by any number of values (e....
dimensionedScalar log(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
scalar Cmu_
Cmu coefficient.
errorManip< error > abort(error &err)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions,...
defineTypeNameAndDebug(combustionModel, 0)
static scalar yPlusLam(const scalar kappa, const scalar E)
Calculate the Y+ at the edge of the laminar sublayer.
virtual void writeLocalEntries(Ostream &) const
Write local wall function variables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void checkType()
Check the type of the patch.