Go to the documentation of this file.
46 massFluxFraction_(1.0)
50 valueFraction() = 0.0;
63 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi")),
64 rhoName_(
dict.lookupOrDefault<
word>(
"rho",
"none")),
65 massFluxFraction_(
dict.lookupOrDefault<scalar>(
"massFluxFraction", 1.0))
70 valueFraction() = 0.0;
72 if (
dict.found(
"value"))
134 scalarField::autoMap(m);
173 const scalarField alphap(turbModel.alphaEff(patchI));
190 scalar
phi =
gSum(-phip*(*
this));
195 <<
" mass flux[Kg/s]:" << phi
207 os.
writeKeyword(
"massFluxFraction") << massFluxFraction_
209 this->writeEntry(
"value", os);
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual scalarField & valueFraction()
static word groupName(Name name, const word &group)
A class for handling words, derived from string.
virtual Field< scalar > & refValue()
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
const DimensionedField< Type, volMesh > & dimensionedInternalField() const
Return dimensioned internal field reference.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
static const word propertiesName
Default name of the turbulence properties dictionary.
totalFlowRateAdvectiveDiffusiveFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual Field< scalar > & refGrad()
const char *const group
Group name for atomic constants.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Type gSum(const FieldField< Field, Type > &f)
dimensioned< scalar > mag(const dimensioned< Type > &)
const fvMesh & mesh() const
Return the mesh reference.
bool updated() const
Return true if the boundary condition has already been updated.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const word & name() const
Return name.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
word rhoName_
Name of the density field used to normalise the mass flux.
virtual void write(Ostream &) const
Write.
A list of keyword definitions, which are a keyword followed by any number of values (e....
label index() const
Return the index of this patch in the fvBoundaryMesh.
This BC is used for species inlets. The diffusion and advection fluxes are considered to calculate th...
Macros for easy insertion into run-time selection tables.
makePatchTypeField(fvPatchVectorField, SRFFreestreamVelocityFvPatchVectorField)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
scalar massFluxFraction_
Mass flux fraction.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const objectRegistry & db() const
Return local objectRegistry.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const scalarField & deltaCoeffs() const
Return the face - cell distance coeffient.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
const GeometricField::PatchFieldType & lookupPatchField(const word &name, const GeometricField *=NULL, const Type *=NULL) const
Lookup and return the patchField of the named field from the.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
word phiName_
Name of the flux transporting the field.
Templated abstract base class for LES SGS models.
Foam::fvPatchFieldMapper.
const fvPatch & patch() const
Return patch.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const scalarField & magSf() const
Return face area magnitudes.
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...
const word & name() const
Return reference to name.