41 zeroGradientFvPatchVectorField(p, iF),
56 zeroGradientFvPatchVectorField(ptf, p, iF, mapper),
57 phiName_(ptf.phiName_),
58 rhoName_(ptf.rhoName_)
70 zeroGradientFvPatchVectorField(p, iF),
74 fvPatchVectorField::operator=(patchInternalField());
85 zeroGradientFvPatchVectorField(fcvpvf, iF),
86 phiName_(fcvpvf.phiName_),
87 rhoName_(fcvpvf.rhoName_)
103 zeroGradientFvPatchVectorField::evaluate();
116 operator==(*
this - n*(n & *
this) + n*phip/magS);
123 operator==(*
this - n*(n & *
this) + n*phip/(rhop*magS));
128 <<
"dimensions of phi are incorrect\n" 129 <<
" on patch " << this->patch().name()
130 <<
" of field " << this->internalField().name()
131 <<
" in file " << this->internalField().objectPath()
140 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
141 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
142 writeEntry(
"value", os);
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
commsTypes
Types of communications.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
fluxCorrectedVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
const dimensionSet & dimensions() const
Return dimensions.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
This boundary condition provides a velocity outlet boundary condition for patches where the pressure ...
const dimensionSet dimDensity
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::blocking)
Evaluate the patch field.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual void write(Ostream &) const
Write.
const dimensionSet dimArea(sqr(dimLength))
virtual void write(Ostream &) const
Write.
const dimensionSet dimVelocity