spherical Class Reference

Base class for clouds with spherical particles. More...

Inheritance diagram for spherical:
Collaboration diagram for spherical:

Public Member Functions

 TypeName ("spherical")
 Run-time type information. More...
 
 spherical (const cloud &)
 Construct from a reference to the cloud. More...
 
 spherical (const cloud &, const grouped &)
 Construct from a reference to the cloud and its base classes. More...
 
virtual ~spherical ()
 Destructor. More...
 
- Public Member Functions inherited from shaped
 TypeName ("shaped")
 Run-time type information. More...
 
 shaped (const cloud &)
 Construct from a reference to the cloud. More...
 
 shaped (const cloud &, const grouped &)
 Construct from a reference to the cloud and its base classes. More...
 
virtual ~shaped ()
 Destructor. More...
 

Public Attributes

CloudStateField< scalar > & d
 Diameter. More...
 
- Public Attributes inherited from shaped
const CloudDerivedField< scalar > & v
 Volume. More...
 
const CloudDerivedField< scalar > & a
 Surface area. More...
 
const CloudAverageField< scalar > & alpha
 Volume fraction. More...
 

Protected Member Functions

void correct (const LagrangianSubScalarSubField &v)
 Correct the shape to match the given volume. More...
 

Additional Inherited Members

- Static Public Attributes inherited from shaped
static const word vName
 Name of volume fields. More...
 

Detailed Description

Base class for clouds with spherical particles.

Source files

Definition at line 50 of file spherical.H.

Constructor & Destructor Documentation

◆ spherical() [1/2]

spherical ( const cloud c)

Construct from a reference to the cloud.

Definition at line 91 of file spherical.C.

◆ spherical() [2/2]

spherical ( const cloud c,
const grouped groupedCloud 
)

Construct from a reference to the cloud and its base classes.

Definition at line 98 of file spherical.C.

◆ ~spherical()

~spherical ( )
virtual

Destructor.

Definition at line 107 of file spherical.C.

Member Function Documentation

◆ correct()

void correct ( const LagrangianSubScalarSubField v)
protected

Correct the shape to match the given volume.

Definition at line 79 of file spherical.C.

References Foam::cbrt(), DimensionedField< Type, GeoMesh, PrimitiveField >::mesh(), Foam::constant::mathematical::pi(), and LagrangianSubMesh::sub().

Referenced by kinematicParcel::calculate(), kinematicParticle::calculate(), parcel::calculate(), and particle::calculate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypeName()

TypeName ( "spherical"  )

Run-time type information.

Member Data Documentation

◆ d

CloudStateField<scalar>& d

Diameter.

Definition at line 95 of file spherical.H.

Referenced by sphericalCoupled::sphericalCoupled().


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