Go to the documentation of this file.
40 fixedGradientFvPatchScalarField(
p, iF),
52 fixedGradientFvPatchScalarField(
p, iF),
55 if (
dict.found(
"value") &&
dict.found(
"gradient"))
79 fixedGradientFvPatchScalarField(
p, iF),
82 patchType() = ptf.patchType();
86 gradient().map(ptf.gradient(), mapper);
91 scalarField::operator=
96 patchInternalField() + gradient()*(patch().nf() & patch().delta())
107 fixedGradientFvPatchScalarField(wbppsf),
118 fixedGradientFvPatchScalarField(wbppsf, iF),
135 curTimeIndex_ = this->db().time().timeIndex();
137 gradient() = snGradp;
138 fixedGradientFvPatchScalarField::updateCoeffs();
152 <<
"updateCoeffs(const scalarField& snGradp) MUST be called before"
153 " updateCoeffs() or evaluate() to set the boundary gradient."
162 writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
bool notNull(const T &t)
Return true if t is not a reference to the nullObject of type T.
label curTimeIndex_
Current time index (used for updating)
virtual void updateCoeffs()
Update the patch pressure gradient field.
Pre-declare SubField and related Field type.
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.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
This boundary condition sets the pressure gradient to the provided value such that the flux on the bo...
virtual void write(Ostream &) const
Write.
volScalarField scalarField(fieldObject, mesh)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fixedFluxPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...