Go to the documentation of this file.
44 fixedValueFvPatchScalarField(
p, iF),
58 fixedValueFvPatchScalarField(
p, iF,
dict, false),
59 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho")),
60 p_(
"p",
dict,
p.size())
62 if (
dict.found(
"value"))
79 const prghPressureFvPatchScalarField& ptf,
81 const DimensionedField<scalar, volMesh>& iF,
82 const fvPatchFieldMapper& mapper
85 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
86 rhoName_(ptf.rhoName_),
97 fixedValueFvPatchScalarField(ptf),
98 rhoName_(ptf.rhoName_),
110 fixedValueFvPatchScalarField(ptf, iF),
111 rhoName_(ptf.rhoName_),
123 fixedValueFvPatchScalarField::autoMap(m);
134 fixedValueFvPatchScalarField::rmap(ptf, addr);
137 refCast<const prghPressureFvPatchScalarField>(ptf);
139 p_.rmap(tiptf.
p_, addr);
170 fixedValueFvPatchScalarField::updateCoeffs();
178 p_.writeEntry(
"p",
os);
179 writeEntry(
"value",
os);
190 prghPressureFvPatchScalarField
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.
A class for handling words, derived from Foam::string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
static constexpr const zero Zero
friend Ostream & operator(Ostream &, const fvPatchField< Type > &)
virtual void updateCoeffs()
const Type & value() const
const scalarField & p() const
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
Generic templated field type.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< 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
virtual void autoMap(const fvPatchFieldMapper &)
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
virtual void write(Ostream &) const
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)
prghPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Foam::fvPatchFieldMapper.
virtual void rmap(const fvPatchScalarField &, const labelList &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
const dimensionSet & dimensions() const
This boundary condition provides static pressure condition for p_rgh, calculated as:
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...