Go to the documentation of this file.
42 mixedFvPatchScalarField(
p, iF),
55 mixedFvPatchScalarField(
p, iF),
56 UName_(
dict.getOrDefault<
word>(
"U",
"U"))
60 if (
dict.found(
"value"))
62 fvPatchScalarField::operator=
69 fvPatchScalarField::operator=(freestreamValue());
86 mixedFvPatchScalarField(ptf,
p, iF, mapper),
97 mixedFvPatchScalarField(wbppsf),
109 mixedFvPatchScalarField(wbppsf, iF),
110 UName_(wbppsf.UName_)
124 patch().template lookupPatchField<volVectorField, vector>
129 valueFraction() = 0.5 + 0.5*(Up &
patch().nf())/
mag(Up);
139 freestreamValue().writeEntry(
"freestreamValue", os);
140 writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
This boundary condition provides a free-stream condition for pressure.
virtual void write(Ostream &) const
Write.
freestreamPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
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,...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const std::string patch
OpenFOAM patch number as a std::string.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...