43 fixedValueFvPatchScalarField(
p, iF,
dict, false),
44 rho_(
dict.lookup<scalar>(
"rhoRef")),
45 pRef_(
dict.lookup<scalar>(
"pRef")),
46 pRefPointSpecified_(
dict.
found(
"pRefPoint")),
49 if (
dict.found(
"value"))
72 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
75 pRefPointSpecified_(ptf.pRefPointSpecified_),
76 pRefPoint_(ptf.pRefPoint_)
87 fixedValueFvPatchScalarField(ptf, iF),
90 pRefPointSpecified_(ptf.pRefPointSpecified_),
91 pRefPoint_(ptf.pRefPoint_)
107 scalar ghRef = g.
value() & pRefPoint_;
109 if (!pRefPointSpecified_)
120 + rho_*((g.
value() & patch().Cf()) - ghRef)
123 fixedValueFvPatchScalarField::updateCoeffs();
135 if (pRefPointSpecified_)
Macros for easy insertion into run-time selection tables.
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,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Type & value() const
Return const reference to value.
Foam::fvPatchFieldMapper.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
friend Ostream & operator(Ostream &, const fvPatchField< Type > &)
virtual void operator=(const UList< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensioned< scalar > mag(const dimensioned< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)