uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource Class Reference

This source condition creates a uniform fixed value source term in the group surface-area-volume-ratio (kappa) equations of the fractal shape model of a population balance model. More...

Inheritance diagram for uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource:
Collaboration diagram for uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource:

Public Member Functions

 TypeName ("uniformFixedValueGroupSurfaceAreaVolumeRatio")
 Runtime type information. More...
 
 uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource (const DimensionedField< scalar, fvMesh > &, const dictionary &dict)
 Construct from internal field and dictionary. More...
 
 uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource (const uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource &, const DimensionedField< scalar, fvMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual autoPtr< fvScalarFieldSource > clone (const DimensionedField< scalar, fvMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual ~uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource ()
 Destructor. More...
 
virtual tmp< DimensionedField< scalar, fvMesh > > sourceValue (const fvSource &model, const DimensionedField< scalar, fvMesh > &source) const
 Return the source value. More...
 
virtual tmp< scalarFieldsourceValue (const fvSource &model, const scalarField &source, const labelUList &cells) const
 Return the source value. More...
 
virtual tmp< DimensionedField< scalar, fvMesh > > internalCoeff (const fvSource &model, const DimensionedField< scalar, fvMesh > &source) const
 Return the internal coefficient. More...
 
virtual tmp< scalarFieldinternalCoeff (const fvSource &model, const scalarField &source, const labelUList &cells) const
 Return the internal coefficient. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from groupPropertyFvScalarField
 groupPropertyFvScalarField (const DimensionedField< scalar, fvMesh > &)
 Construct from internal field. More...
 
const populationBalanceModelpopBal () const
 Return the population balance. More...
 
label i () const
 Return the index of this group. More...
 

Detailed Description

This source condition creates a uniform fixed value source term in the group surface-area-volume-ratio (kappa) equations of the fractal shape model of a population balance model.

Usage
Example of the source condition specification:
<sourceName>
{
    type            uniformFixedValueGroupSurfaceAreaVolumeRatio;
    libs            ("libmultiphaseEulerFvModels.so");
    uniformValue    1.5e10;
}
Source files

Definition at line 63 of file uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource.H.

Constructor & Destructor Documentation

◆ uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource() [1/2]

Construct from internal field and dictionary.

Definition at line 32 of file uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource.C.

◆ uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource() [2/2]

◆ ~uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource()

Member Function Documentation

◆ TypeName()

TypeName ( "uniformFixedValueGroupSurfaceAreaVolumeRatio"  )

Runtime type information.

◆ clone()

virtual autoPtr<fvScalarFieldSource> clone ( const DimensionedField< scalar, fvMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 100 of file uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource.H.

◆ sourceValue() [1/2]

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::fvMesh > > sourceValue ( const fvSource model,
const DimensionedField< scalar, fvMesh > &  source 
) const
virtual

Return the source value.

Definition at line 78 of file uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References fvModel::name().

Here is the call graph for this function:

◆ sourceValue() [2/2]

Foam::tmp< Foam::scalarField > sourceValue ( const fvSource model,
const scalarField source,
const labelUList cells 
) const
virtual

Return the source value.

Definition at line 97 of file uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References cells, fvModel::name(), and Foam::dimensions::time.

Here is the call graph for this function:

◆ internalCoeff() [1/2]

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::fvMesh > > internalCoeff ( const fvSource model,
const DimensionedField< scalar, fvMesh > &  source 
) const
virtual

Return the internal coefficient.

Definition at line 113 of file uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References Foam::dimless, fvModel::name(), and DimensionedField< Type, GeoMesh, PrimitiveField >::New().

Here is the call graph for this function:

◆ internalCoeff() [2/2]

Foam::tmp< Foam::scalarField > internalCoeff ( const fvSource model,
const scalarField source,
const labelUList cells 
) const
virtual

Return the internal coefficient.

Definition at line 131 of file uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References List< T >::size().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 144 of file uniformFixedValueGroupSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References Foam::dimensions::time, Foam::vtkWriteOps::write(), and Foam::writeEntry().

Here is the call graph for this function:

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