54 fixedGradientFvPatchScalarField(
p, iF),
58 if (
dict.found(
"gradient"))
62 fixedGradientFvPatchScalarField::updateCoeffs();
81 fixedGradientFvPatchScalarField(acpsf,
p, iF, mapper),
82 contactAngle_(acpsf.contactAngle_, false),
93 fixedGradientFvPatchScalarField(acpsf, iF),
94 contactAngle_(acpsf.contactAngle_, false),
107 return contactAngle_->cosTheta(Up, nHat);
116 if (limit_ == lcGradient)
119 patch().deltaCoeffs()
123 *
this + gradient()/patch().deltaCoeffs(),
124 scalar(1)), scalar(0)
128 else if (limit_ == lcZeroGradient)
135 if (limit_ == lcAlpha)
149 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
const dimensionSet & dimLength
makePatchTypeField(fvPatchScalarField, atmosphericBoundaryLayerTurbulentEpsilonFvPatchScalarField)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void evaluate(GeometricField< Type, GeoMesh > &result, const Function1< Type > &func, const GeometricField< Type, GeoMesh > &x)
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)