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"))
86 mixedFvPatchScalarField(ptf,
p, iF, mapper),
97 mixedFvPatchScalarField(wbppsf),
109 mixedFvPatchScalarField(wbppsf, iF),
110 UName_(wbppsf.UName_)
123 const Field<vector>& Up =
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);
151 freestreamPressureFvPatchScalarField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
fvPatchField< scalar > fvPatchScalarField
virtual void write(Ostream &) const
virtual void operator=(const UList< Type > &)
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
This boundary condition provides a free-stream condition for pressure.
virtual void write(Ostream &) const
friend Ostream & operator(Ostream &, const fvPatchField< Type > &)
const scalarField & freestreamValue() const
freestreamPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
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()
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual void updateCoeffs()
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...