Go to the documentation of this file.
50 valueFraction() = 0.0;
65 alphaName_(ptf.alphaName_)
78 Umean_(
dict.get<scalar>(
"Umean")),
79 alphaName_(
dict.lookup(
"alpha"))
81 patchType() =
dict.getOrDefault<
word>(
"patchType", word::null);
85 valueFraction() = 0.0;
87 if (
dict.found(
"value"))
89 fvPatchVectorField::operator=
96 fvPatchVectorField::operator=(patchInternalField());
109 alphaName_(ptf.alphaName_)
122 alphaName_(ptf.alphaName_)
138 alphap =
max(alphap, scalar(0));
139 alphap =
min(alphap, scalar(1));
151 if (Uzgmean >= Umean_)
154 valueFraction() = 1.0 - Umean_/Uzgmean;
158 refValue() = (Umean_ + Uzgmean)*
patch().nf();
159 valueFraction() = 1.0 - Uzgmean/Umean_;
175 writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
Type gSum(const FieldField< Field, Type > &f)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
Field< vector > vectorField
Specialisation of Field<T> for vector.
outletPhaseMeanVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
const std::string patch
OpenFOAM patch number as a std::string.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
This boundary condition adjusts the velocity for the given phase to achieve the specified mean thus c...
Foam::fvPatchFieldMapper.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void write(Ostream &) const
Write.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...