37Foam::uniformDensityHydrostaticPressureFvPatchScalarField::
38uniformDensityHydrostaticPressureFvPatchScalarField
44 fixedValueFvPatchScalarField(
p, iF),
51Foam::uniformDensityHydrostaticPressureFvPatchScalarField::
52uniformDensityHydrostaticPressureFvPatchScalarField
59 fixedValueFvPatchScalarField(
p, iF,
dict, false),
60 rho_(
dict.get<scalar>(
"rho")),
61 pRefValue_(
dict.get<scalar>(
"pRefValue")),
78Foam::uniformDensityHydrostaticPressureFvPatchScalarField::
79uniformDensityHydrostaticPressureFvPatchScalarField
87 fixedValueFvPatchScalarField(ptf,
p, iF, mapper),
89 pRefValue_(ptf.pRefValue_),
90 pRefPoint_(ptf.pRefPoint_)
94Foam::uniformDensityHydrostaticPressureFvPatchScalarField::
95uniformDensityHydrostaticPressureFvPatchScalarField
100 fixedValueFvPatchScalarField(ptf),
102 pRefValue_(ptf.pRefValue_),
103 pRefPoint_(ptf.pRefPoint_)
107Foam::uniformDensityHydrostaticPressureFvPatchScalarField::
108uniformDensityHydrostaticPressureFvPatchScalarField
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);
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 & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
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 Type & value() const
Return const reference to value.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Lookup type of boundary radiation properties.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.