Go to the documentation of this file.
42 zeroGradientFvPatchScalarField(
p, iF),
57 zeroGradientFvPatchScalarField(
p, iF,
dict),
58 UName_(
dict.lookupOrDefault<
word>(
"U",
"U")),
59 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
60 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"none"))
73 zeroGradientFvPatchScalarField(ptf,
p, iF, mapper),
86 zeroGradientFvPatchScalarField(wbppsf),
100 zeroGradientFvPatchScalarField(wbppsf, iF),
116 const freestreamFvPatchVectorField& Up =
117 refCast<const freestreamFvPatchVectorField>
119 patch().lookupPatchField<volVectorField, vector>(
UName_)
133 phip = patch().Sf() & Up.freestreamValue();
140 phip = rhop*(patch().Sf() & Up.freestreamValue());
145 <<
"dimensions of phi are not correct"
146 <<
"\n on patch " << this->patch().name()
152 zeroGradientFvPatchScalarField::updateCoeffs();
A class for handling words, derived from string.
const dimensionSet dimVelocity
const dimensionSet dimDensity
This boundary condition provides a free-stream condition for pressure. It is a zero-gradient conditio...
rDeltaT dimensionedInternalField()
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
word UName_
Name of the velocity field.
freestreamPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
word phiName_
Name of the flux transporting the field.
const dimensionSet dimArea(sqr(dimLength))
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 any number of values (e....
word rhoName_
Name of the density field used to normalise the mass flux.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
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
Foam::fvPatchFieldMapper.
Generic GeometricField class.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...