Go to the documentation of this file.
44 zeroGradientFvPatchVectorField(
p, iF),
59 zeroGradientFvPatchVectorField(ptf,
p, iF, mapper),
60 phiName_(ptf.phiName_),
61 rhoName_(ptf.rhoName_)
73 zeroGradientFvPatchVectorField(
p, iF),
74 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
75 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho"))
77 patchType() =
dict.getOrDefault<
word>(
"patchType", word::null);
78 fvPatchVectorField::operator=(patchInternalField());
89 zeroGradientFvPatchVectorField(fcvpvf, iF),
90 phiName_(fcvpvf.phiName_),
91 rhoName_(fcvpvf.rhoName_)
132 <<
"dimensions of phi are incorrect\n"
133 <<
" on patch " << this->
patch().name()
134 <<
" of field " << this->internalField().name()
135 <<
" in file " << this->internalField().objectPath()
146 writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
virtual void write(Ostream &) const
Write.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
A class for handling words, derived from Foam::string.
const dimensionSet dimVelocity
const dimensionSet dimDensity
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
fluxCorrectedVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
This boundary condition provides a velocity outlet boundary condition for patches where the pressure ...
const dimensionSet dimArea(sqr(dimLength))
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Evaluate the patch field.
commsTypes
Types of communications.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const std::string patch
OpenFOAM patch number as a std::string.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
string evaluate(const std::string &s, size_t pos=0, size_t len=std::string::npos)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...