Go to the documentation of this file.
42 fixedValueFvPatchVectorField(
p, iF),
58 fixedValueFvPatchVectorField(ptf,
p, iF, mapper),
73 fixedValueFvPatchVectorField(
p, iF),
74 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
75 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"rho")),
76 inletDir_(
"inletDirection",
dict,
p.size())
88 fixedValueFvPatchVectorField(pivpvf),
102 fixedValueFvPatchVectorField(pivpvf, iF),
116 fixedValueFvPatchVectorField::autoMap(m);
117 inletDir_.autoMap(m);
127 fixedValueFvPatchVectorField::rmap(ptf, addr);
130 refCast<const pressureDirectedInletVelocityFvPatchVectorField>(ptf);
166 <<
"dimensions of phi are not correct"
167 <<
"\n on patch " << this->patch().name()
173 fixedValueFvPatchVectorField::updateCoeffs();
183 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
184 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
185 inletDir_.writeEntry(
"inletDirection", os);
186 writeEntry(
"value", os);
192 void Foam::pressureDirectedInletVelocityFvPatchVectorField::operator=
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void operator=(const UList< Type > &)
This velocity inlet boundary condition is applied to patches where the pressure is specified....
A class for handling words, derived from string.
A class for managing temporary objects.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const dimensionSet dimVelocity
const dimensionSet dimDensity
rDeltaT dimensionedInternalField()
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
virtual void rmap(const fvPatchVectorField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
word rhoName_
Density field name.
vectorField inletDir_
Inlet direction.
word phiName_
Flux field name.
const dimensionSet dimArea(sqr(dimLength))
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
volVectorField vectorField(fieldObject, mesh)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void write(Ostream &) const
Write.
Generic GeometricField class.
pressureDirectedInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...