Go to the documentation of this file.
42 fixedValueFvPatchScalarField(
p, iF),
58 fixedValueFvPatchScalarField(
p, iF),
59 UName_(
dict.lookupOrDefault<
word>(
"U",
"U")),
60 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
61 rhoName_(
dict.lookupOrDefault<
word>(
"rhoName",
"rho")),
62 p0_(
"p0",
dict,
p.size())
64 if (
dict.found(
"value"))
66 fvPatchScalarField::operator=
87 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
101 fixedValueFvPatchScalarField(ptf),
116 fixedValueFvPatchScalarField(ptf, iF),
131 fixedValueFvPatchScalarField::autoMap(m);
142 fixedValueFvPatchScalarField::rmap(ptf, addr);
145 refCast<const prghTotalPressureFvPatchScalarField>(ptf);
147 p0_.rmap(tiptf.
p0_, addr);
175 mag(
g.value()) > SMALL
184 - rhop*((
g.value() & patch().Cf()) - ghRef.value())
187 fixedValueFvPatchScalarField::updateCoeffs();
194 writeEntryIfDifferent<word>(os,
"U",
"U", UName_);
195 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
196 writeEntryIfDifferent<word>(os,
"rho",
"rho", rhoName_);
197 p0_.writeEntry(
"p0", os);
198 writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
word phiName_
Name of the flux transporting the field.
virtual void write(Ostream &) const
Write.
This boundary condition provides static pressure condition for p_rgh, calculated as:
prghTotalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
A class for handling words, derived from string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
virtual void write(Ostream &) const
Write.
const dimensionedVector & g
dimensioned< scalar > mag(const dimensioned< Type > &)
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
Pre-declare SubField and related Field type.
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....
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
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...
volScalarField scalarField(fieldObject, mesh)
word UName_
Name of the velocity field.
scalarField p0_
Total pressure.
word rhoName_
Name of phase-fraction field.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensioned< scalar > magSqr(const dimensioned< Type > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
dimensionedScalar pos(const dimensionedScalar &ds)