66 fixedGradientFvPatchScalarField(
p, iF),
68 limit_(limitControlNames_.
read(
dict.lookup(
"limit")))
70 if (
dict.found(
"gradient"))
74 fixedGradientFvPatchScalarField::updateCoeffs();
93 fixedGradientFvPatchScalarField(acpsf,
p, iF, mapper),
94 contactAngle_(acpsf.contactAngle_, false),
105 fixedGradientFvPatchScalarField(acpsf, iF),
106 contactAngle_(acpsf.contactAngle_, false),
119 return contactAngle_->cosTheta(Up, nHat);
128 if (limit_ == lcGradient)
131 patch().deltaCoeffs()
135 *
this + gradient()/patch().deltaCoeffs(),
136 scalar(1)), scalar(0)
140 else if (limit_ == lcZeroGradient)
147 if (limit_ == lcAlpha)
161 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...
const dimensionSet & dimensions() const
Return dimensions.
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....
Abstract base class for field mapping.
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.
const dimensionSet dimLength
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)