37Foam::prghPressureFvPatchScalarField::
38prghPressureFvPatchScalarField
44 fixedValueFvPatchScalarField(
p, iF),
50Foam::prghPressureFvPatchScalarField::
51prghPressureFvPatchScalarField
58 fixedValueFvPatchScalarField(
p, iF,
dict, false),
59 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho")),
60 p_(
"p",
dict,
p.size())
76Foam::prghPressureFvPatchScalarField::
77prghPressureFvPatchScalarField
85 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
86 rhoName_(ptf.rhoName_),
91Foam::prghPressureFvPatchScalarField::
92prghPressureFvPatchScalarField
97 fixedValueFvPatchScalarField(ptf),
98 rhoName_(ptf.rhoName_),
103Foam::prghPressureFvPatchScalarField::
104prghPressureFvPatchScalarField
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);
Macros for easy insertion into run-time selection tables.
const uniformDimensionedVectorField & g
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
const dimensionSet & dimensions() const
Return const reference to dimensions.
const Type & value() const
Return const reference to value.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
virtual void operator=(const UList< Type > &)
friend Ostream & operator(Ostream &, const fvPatchField< scalar > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides static pressure condition for p_rgh, calculated as:
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
const scalarField & p() const
Return the static pressure.
scalarField p_
Static pressure.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)