totalFlowRateAdvectiveDiffusiveFvPatchScalarField Class Reference

This BC is used for species inlets. The diffusion and advection fluxes are considered to calculate the inlet value for the species The massFluxFraction sets the fraction of the flux of each particular species. More...

Inheritance diagram for totalFlowRateAdvectiveDiffusiveFvPatchScalarField:
Collaboration diagram for totalFlowRateAdvectiveDiffusiveFvPatchScalarField:

Public Member Functions

 TypeName ("totalFlowRateAdvectiveDiffusive")
 Runtime type information. More...
 
 totalFlowRateAdvectiveDiffusiveFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 totalFlowRateAdvectiveDiffusiveFvPatchScalarField (const totalFlowRateAdvectiveDiffusiveFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &)
 Construct by mapping given. More...
 
 totalFlowRateAdvectiveDiffusiveFvPatchScalarField (const totalFlowRateAdvectiveDiffusiveFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 totalFlowRateAdvectiveDiffusiveFvPatchScalarField (const totalFlowRateAdvectiveDiffusiveFvPatchScalarField &, const DimensionedField< scalar, fvMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, fvMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void map (const fvPatchScalarField &, const fieldMapper &)
 Map the given fvPatchField onto this fvPatchField. More...
 
virtual void reset (const fvPatchScalarField &)
 Reset the fvPatchField to the given fvPatchField. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This BC is used for species inlets. The diffusion and advection fluxes are considered to calculate the inlet value for the species The massFluxFraction sets the fraction of the flux of each particular species.

Source files

Definition at line 51 of file totalFlowRateAdvectiveDiffusiveFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ totalFlowRateAdvectiveDiffusiveFvPatchScalarField() [1/4]

totalFlowRateAdvectiveDiffusiveFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, fvMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 33 of file totalFlowRateAdvectiveDiffusiveFvPatchScalarField.C.

References dict, DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), fvPatchField< Type >::operator, fvPatchField< Type >::operator=(), and p.

Here is the call graph for this function:

◆ totalFlowRateAdvectiveDiffusiveFvPatchScalarField() [2/4]

◆ totalFlowRateAdvectiveDiffusiveFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ totalFlowRateAdvectiveDiffusiveFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 82 of file totalFlowRateAdvectiveDiffusiveFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "totalFlowRateAdvectiveDiffusive"  )

Runtime type information.

◆ clone()

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, fvMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 109 of file totalFlowRateAdvectiveDiffusiveFvPatchScalarField.H.

◆ map()

void map ( const fvPatchScalarField ptf,
const fieldMapper mapper 
)
virtual

Map the given fvPatchField onto this fvPatchField.

Definition at line 98 of file totalFlowRateAdvectiveDiffusiveFvPatchScalarField.C.

◆ reset()

void reset ( const fvPatchScalarField ptf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Definition at line 108 of file totalFlowRateAdvectiveDiffusiveFvPatchScalarField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 166 of file totalFlowRateAdvectiveDiffusiveFvPatchScalarField.C.

References fvPatchField< Type >::write(), and Foam::writeEntry().

Here is the call graph for this function:

The documentation for this class was generated from the following files: