40 fixedValueFvPatchVectorField(p, iF),
55 fixedValueFvPatchVectorField(ptf, p, iF, mapper),
56 phiName_(ptf.phiName_),
57 rhoName_(ptf.rhoName_)
69 fixedValueFvPatchVectorField(p, iF),
83 fixedValueFvPatchVectorField(pivpvf),
84 phiName_(pivpvf.phiName_),
85 rhoName_(pivpvf.rhoName_)
96 fixedValueFvPatchVectorField(pivpvf, iF),
97 phiName_(pivpvf.phiName_),
98 rhoName_(pivpvf.rhoName_)
134 <<
"dimensions of phi are not correct" 135 <<
"\n on patch " << this->patch().name()
136 <<
" of field " << this->internalField().name()
137 <<
" in file " << this->internalField().objectPath()
141 fixedValueFvPatchVectorField::updateCoeffs();
148 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
149 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
150 writeEntry(
"value", os);
156 void Foam::pressureInletVelocityFvPatchVectorField::operator=
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.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
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...
volVectorField vectorField(fieldObject, mesh)
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.
virtual label size() const
Return size.
const dimensionSet & dimensions() const
Return dimensions.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionSet dimDensity
virtual void write(Ostream &) const
Write.
pressureInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void operator=(const UList< Type > &)
This velocity inlet boundary condition is applied to patches where the pressure is specified...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
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...
const dimensionSet dimArea(sqr(dimLength))
virtual void write(Ostream &) const
Write.
const dimensionSet dimVelocity