41 fixedGradientFvPatchScalarField(
p, iF,
dict, false),
44 if (
dict.found(
"value") &&
dict.found(
"gradient"))
65 fixedGradientFvPatchScalarField(ptf,
p, iF, mapper),
76 fixedGradientFvPatchScalarField(wbppsf, iF),
93 curTimeIndex_ = this->db().time().timeIndex();
96 fixedGradientFvPatchScalarField::updateCoeffs();
107 if (curTimeIndex_ != this->db().time().
timeIndex())
110 <<
"updateCoeffs(const scalarField& snGradp) MUST be called before"
111 " updateCoeffs() or evaluate() to set the boundary gradient."
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
This boundary condition sets the pressure gradient to the provided value such that the flux on the bo...
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the patch pressure gradient field.
fixedFluxPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
Construct from patch, internal field and dictionary.
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.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)