Go to the documentation of this file.
72 alphaName_(
dict.lookup(
"alpha"))
114 alphap =
max(alphap, scalar(0));
115 alphap =
min(alphap, scalar(1));
118 scalar avgU = -flowRate_/
gSum(patch().magSf()*alphap);
136 << token::END_STATEMENT <<
nl;
138 << token::END_STATEMENT <<
nl;
139 writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
This boundary condition provides a velocity boundary condition for multphase flow based on a user-spe...
scalar flowRate_
Inlet integral flow rate.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Type gSum(const FieldField< Field, Type > &f)
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
variableHeightFlowRateInletVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual void write(Ostream &) const
Write.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
word alphaName_
Name of the phase-fraction field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...