uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource Class Reference

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

Inheritance diagram for uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource:
Collaboration diagram for uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource:

Public Member Functions

 TypeName ("uniformFixedValueSurfaceAreaVolumeRatio")
 Runtime type information. More...
 
 uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource (const DimensionedField< scalar, volMesh > &, const dictionary &dict)
 Construct from internal field and dictionary. More...
 
 uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource (const uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual autoPtr< fvScalarFieldSource > clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual ~uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource ()
 Destructor. More...
 
virtual tmp< DimensionedField< scalar, volMesh > > sourceValue (const fvSource &model, const DimensionedField< scalar, volMesh > &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, volMesh > > internalCoeff (const fvSource &model, const DimensionedField< scalar, volMesh > &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 secondaryPropertyFvScalarFieldSource
 secondaryPropertyFvScalarFieldSource (const DimensionedField< scalar, volMesh > &)
 Construct from internal field. More...
 
const UPtrList< diameterModels::sizeGroup > & fis () const
 Return the list of size-groups. More...
 
label i () const
 Return the index of this group. More...
 
const diameterModels::sizeGroupfi (const label deltai=0) const
 Return a size-group. More...
 
template<class ModelType >
const volScalarFieldfld (const label deltai=0) const
 Return a secondary property field. More...
 
template<class ModelType >
const ModelType & model (const label deltai=0) const
 Return a secondary property model. More...
 
template<class ModelType >
const Foam::volScalarFieldfld (const label deltai) const
 

Detailed Description

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

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

Definition at line 63 of file uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource.H.

Constructor & Destructor Documentation

◆ uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource() [1/2]

Construct from internal field and dictionary.

Definition at line 32 of file uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource.C.

◆ uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource() [2/2]

◆ ~uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource()

Member Function Documentation

◆ TypeName()

TypeName ( "uniformFixedValueSurfaceAreaVolumeRatio"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Definition at line 99 of file uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource.H.

◆ sourceValue() [1/2]

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

Return the source value.

Definition at line 77 of file uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References Foam::dimensions(), and 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 95 of file uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References cells, and fvModel::name().

Here is the call graph for this function:

◆ internalCoeff() [1/2]

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

Return the internal coefficient.

Definition at line 110 of file uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource.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 128 of file uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References List< T >::size().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 140 of file uniformFixedValueSurfaceAreaVolumeRatioFvScalarFieldSource.C.

References Foam::dimensions(), 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: