Go to the documentation of this file.
67 fixedGradientFvPatchScalarField(
p, iF),
68 limit_(lcZeroGradient)
80 fixedGradientFvPatchScalarField(acpsf,
p, iF, mapper),
92 fixedGradientFvPatchScalarField(
p, iF),
93 limit_(limitControlNames_.read(
dict.lookup(
"limit")))
95 if (
dict.found(
"gradient"))
98 fixedGradientFvPatchScalarField::updateCoeffs();
99 fixedGradientFvPatchScalarField::evaluate();
114 fixedGradientFvPatchScalarField(acpsf),
125 fixedGradientFvPatchScalarField(acpsf, iF),
137 if (limit_ == lcGradient)
140 patch().deltaCoeffs()
144 *
this + gradient()/patch().deltaCoeffs(),
145 scalar(1)), scalar(0)
149 else if (limit_ == lcZeroGradient)
154 fixedGradientFvPatchScalarField::evaluate();
156 if (limit_ == lcAlpha)
158 scalarField::operator=(
max(
min(*
this, scalar(1)), scalar(0)));
170 << limitControlNames_[limit_] << token::END_STATEMENT <<
nl;
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
commsTypes
Types of communications.
volScalarField scalarField(fieldObject, mesh)
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,...
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
Initialise the NamedEnum HashTable from the static list of names.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...