Go to the documentation of this file.
50 valueFraction() = 0.0;
65 alphaName_(ptf.alphaName_)
78 Umean_(
dict.
get<scalar>(
"Umean")),
85 valueFraction() = 0.0;
87 if (
dict.found(
"value"))
104 const outletPhaseMeanVelocityFvPatchVectorField& ptf
107 mixedFvPatchField<
vector>(ptf),
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);
186 outletPhaseMeanVelocityFvPatchVectorField
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
virtual void operator=(const UList< Type > &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
friend Ostream & operator(Ostream &, const fvPatchField< Type > &)
Type gSum(const FieldField< Field, Type > &f)
label min(const labelHashSet &set, label minValue=labelMax)
Field< vector > vectorField
Specialisation of Field<T> for vector.
outletPhaseMeanVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Generic templated field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
Lookup type of boundary radiation properties.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
Vector< scalar > vector
A scalar version of the templated Vector.
virtual void updateCoeffs()
fvPatchField< vector > fvPatchVectorField
Ostream & writeEntry(const keyType &key, const T &value)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
This boundary condition adjusts the velocity for the given phase to achieve the specified mean thus c...
Foam::fvPatchFieldMapper.
virtual void updateCoeffs()
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)
virtual void write(Ostream &) const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...