47 valueFraction() = 0.0;
62 alphaName_(ptf.alphaName_)
76 alphaName_(dict.
lookup(
"alpha"))
80 valueFraction() = 0.0;
82 if (dict.
found(
"value"))
84 fvPatchVectorField::operator=
91 fvPatchVectorField::operator=(patchInternalField());
104 alphaName_(ptf.alphaName_)
117 alphaName_(ptf.alphaName_)
133 alphap =
max(alphap, scalar(0));
134 alphap =
min(alphap, scalar(1));
141 gSum(alphap*(patch().Sf() & Uzg))
142 /
gSum(alphap*patch().magSf());
146 if (Uzgmean >= Umean_)
149 valueFraction() = 1.0 - Umean_/Uzgmean;
153 refValue() = (Umean_ + Uzgmean)*patch().nf();
154 valueFraction() = 1.0 - Uzgmean/Umean_;
172 writeEntry(
"value", os);
outletPhaseMeanVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
void size(const label)
Override size to be inconsistent with allocated storage.
This boundary condition adjusts the velocity for the given phase to achieve the specified mean thus c...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a base class for 'mixed' type boundary conditions, i.e. conditions that mix fixed value and patch-normal gradient conditions.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
volVectorField vectorField(fieldObject, mesh)
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
Type gSum(const FieldField< Field, Type > &f)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::fvPatchFieldMapper.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void write(Ostream &) const
Write.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.