Go to the documentation of this file.
44 fixedValueFvPatchScalarField(
p, iF),
59 fixedValueFvPatchScalarField(
p, iF,
dict, false),
60 UName_(
dict.getOrDefault<
word>(
"U",
"U")),
61 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
62 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho")),
63 p0_(
"p0",
dict,
p.size())
65 if (
dict.found(
"value"))
81 const prghTotalPressureFvPatchScalarField& ptf,
83 const DimensionedField<scalar, volMesh>& iF,
84 const fvPatchFieldMapper& mapper
87 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
89 phiName_(ptf.phiName_),
90 rhoName_(ptf.rhoName_),
100 fixedValueFvPatchScalarField(ptf),
102 phiName_(ptf.phiName_),
103 rhoName_(ptf.rhoName_),
114 fixedValueFvPatchScalarField(ptf, iF),
116 phiName_(ptf.phiName_),
117 rhoName_(ptf.rhoName_),
129 fixedValueFvPatchScalarField::autoMap(m);
140 fixedValueFvPatchScalarField::rmap(ptf, addr);
143 refCast<const prghTotalPressureFvPatchScalarField>(ptf);
145 p0_.rmap(tiptf.
p0_, addr);
185 fixedValueFvPatchScalarField::updateCoeffs();
195 p0_.writeEntry(
"p0",
os);
196 writeEntry(
"value",
os);
207 prghTotalPressureFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
virtual void operator=(const UList< Type > &)
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
This boundary condition provides static pressure condition for p_rgh, calculated as:
prghTotalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
A class for handling words, derived from Foam::string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
static constexpr const zero Zero
virtual void updateCoeffs()
virtual void write(Ostream &) const
friend Ostream & operator(Ostream &, const fvPatchField< Type > &)
const Type & value() const
dimensionedScalar pos0(const dimensionedScalar &ds)
Field< vector > vectorField
Specialisation of Field<T> for vector.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
Generic templated field type.
UniformDimensionedField< vector > uniformDimensionedVectorField
UniformDimensionedField< scalar > uniformDimensionedScalarField
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
const uniformDimensionedVectorField & g
Vector< scalar > vector
A scalar version of the templated Vector.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual void autoMap(const fvPatchFieldMapper &)
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...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const dimensionSet & dimensions() const
static const gravity & New(const Time &runTime)
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 &)