Go to the documentation of this file.
41 mixedFvPatchScalarField(
p, iF),
54 mixedFvPatchScalarField(
p, iF),
55 UName_(
dict.lookupOrDefault<
word>(
"U",
"U"))
59 if (
dict.found(
"value"))
61 fvPatchScalarField::operator=
68 fvPatchScalarField::operator=(freestreamValue());
85 mixedFvPatchScalarField(ptf,
p, iF, mapper),
96 mixedFvPatchScalarField(wbppsf),
108 mixedFvPatchScalarField(wbppsf, iF),
109 UName_(wbppsf.UName_)
123 patch().template lookupPatchField<volVectorField, vector>
128 valueFraction() = 0.5 + 0.5*(Up &
patch().nf())/
mag(Up);
138 freestreamValue().writeEntry(
"freestreamValue", os);
139 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.
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.
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...