35Foam::variableHeightFlowRateInletVelocityFvPatchVectorField
36::variableHeightFlowRateInletVelocityFvPatchVectorField
48Foam::variableHeightFlowRateInletVelocityFvPatchVectorField
49::variableHeightFlowRateInletVelocityFvPatchVectorField
62Foam::variableHeightFlowRateInletVelocityFvPatchVectorField
63::variableHeightFlowRateInletVelocityFvPatchVectorField
72 flowRate_(ptf.flowRate_.clone()),
73 alphaName_(ptf.alphaName_)
77Foam::variableHeightFlowRateInletVelocityFvPatchVectorField
78::variableHeightFlowRateInletVelocityFvPatchVectorField
84 flowRate_(ptf.flowRate_.clone()),
85 alphaName_(ptf.alphaName_)
89Foam::variableHeightFlowRateInletVelocityFvPatchVectorField
90::variableHeightFlowRateInletVelocityFvPatchVectorField
97 flowRate_(ptf.flowRate_.clone()),
98 alphaName_(ptf.alphaName_)
104void Foam::variableHeightFlowRateInletVelocityFvPatchVectorField
115 alphap =
max(alphap, scalar(0));
116 alphap =
min(alphap, scalar(1));
118 const scalar t = db().time().timeOutputValue();
119 scalar flowRate = flowRate_->value(t);
122 scalar avgU = -flowRate/
gSum(patch().magSf()*alphap);
138 flowRate_->writeData(
os);
140 writeEntry(
"value",
os);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Lookup type of boundary radiation properties.
This boundary condition provides a velocity boundary condition for multphase flow based on a user-spe...
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Type gSum(const FieldField< Field, Type > &f)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.