Go to the documentation of this file.
44 fixedValueFvPatchScalarField(
p, iF),
59 fixedValueFvPatchScalarField(
p, iF,
dict,
false),
60 rho_(
dict.get<scalar>(
"rho")),
61 pRefValue_(
dict.get<scalar>(
"pRefValue")),
62 pRefPoint_(
dict.lookup(
"pRefPoint"))
64 if (
dict.found(
"value"))
87 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
89 pRefValue_(ptf.pRefValue_),
90 pRefPoint_(ptf.pRefPoint_)
100 fixedValueFvPatchScalarField(ptf),
102 pRefValue_(ptf.pRefValue_),
103 pRefPoint_(ptf.pRefPoint_)
114 fixedValueFvPatchScalarField(ptf, iF),
116 pRefValue_(ptf.pRefValue_),
117 pRefPoint_(ptf.pRefPoint_)
136 + rho_*((
g.value() &
patch().Cf()) - (
g.value() & pRefPoint_))
139 fixedValueFvPatchScalarField::updateCoeffs();
152 writeEntry(
"value",
os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static constexpr const zero Zero
Global zero (0)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
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.
const uniformDimensionedVectorField & g
const std::string patch
OpenFOAM patch number as a std::string.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
static const gravity & New(const Time &runTime)
Construct on Time.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.