66 fixedGradientFvPatchScalarField(
p, iF),
68 limit_(limitControlNames_.
read(
dict.lookup(
"limit")))
70 if (
dict.found(
"gradient"))
73 fixedGradientFvPatchScalarField::updateCoeffs();
92 fixedGradientFvPatchScalarField(acpsf,
p, iF, mapper),
93 contactAngle_(acpsf.contactAngle_, false),
104 fixedGradientFvPatchScalarField(acpsf, iF),
105 contactAngle_(acpsf.contactAngle_, false),
118 return contactAngle_->cosTheta(Up, nHat);
127 if (limit_ == lcGradient)
130 patch().deltaCoeffs()
134 *
this + gradient()/patch().deltaCoeffs(),
135 scalar(1)), scalar(0)
139 else if (limit_ == lcZeroGradient)
146 if (limit_ == lcAlpha)
160 writeEntry(os,
"limit", limitControlNames_[limit_]);
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...
void operator=(const Field< scalar > &)
Initialise the NamedEnum HashTable from the static list of names.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Foam::fvPatchFieldMapper.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
void evaluate(GeometricField< Type, PatchField, GeoMesh > &result, const Function1< Type > &func, const GeometricField< Type, PatchField, GeoMesh > &x)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)