37Foam::fluxCorrectedVelocityFvPatchVectorField::
38fluxCorrectedVelocityFvPatchVectorField
44 zeroGradientFvPatchVectorField(
p, iF),
50Foam::fluxCorrectedVelocityFvPatchVectorField::
51fluxCorrectedVelocityFvPatchVectorField
59 zeroGradientFvPatchVectorField(ptf,
p, iF, mapper),
60 phiName_(ptf.phiName_),
61 rhoName_(ptf.rhoName_)
65Foam::fluxCorrectedVelocityFvPatchVectorField::
66fluxCorrectedVelocityFvPatchVectorField
73 zeroGradientFvPatchVectorField(
p, iF),
74 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
75 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho"))
82Foam::fluxCorrectedVelocityFvPatchVectorField::
83fluxCorrectedVelocityFvPatchVectorField
89 zeroGradientFvPatchVectorField(fcvpvf, iF),
90 phiName_(fcvpvf.phiName_),
91 rhoName_(fcvpvf.rhoName_)
107 zeroGradientFvPatchVectorField::evaluate();
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);
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 evaluate()
Evaluate boundary conditions.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
commsTypes
Types of communications.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
This boundary condition provides a velocity outlet boundary condition for patches where the pressure ...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void operator=(const UList< vector > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
A class for handling words, derived from Foam::string.
static const word null
An empty word.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
const dimensionSet dimDensity
errorManipArg< error, int > exit(error &err, const int errNo=1)