Loading...
Searching...
No Matches
KinematicParcel< ParcelType >::trackingData Class Reference

#include <KinematicParcel.H>

Inheritance diagram for KinematicParcel< ParcelType >::trackingData:
Collaboration diagram for KinematicParcel< ParcelType >::trackingData:

Public Types

enum  trackPart { tpVelocityHalfStep , tpLinearTrack , tpRotationalTrack }

Public Member Functions

template<class TrackCloudType>
 trackingData (const TrackCloudType &cloud, trackPart part=tpLinearTrack)
 Construct from components.
const interpolation< scalar > & rhoInterp () const
 Return const access to the interpolator for continuous phase density field.
const interpolation< vector > & UInterp () const
 Return const access to the interpolator for continuous phase velocity field.
const interpolation< scalar > & muInterp () const
 Return const access to the interpolator for continuous phase dynamic viscosity field.
scalar rhoc () const
 Return the continuous phase density.
scalar & rhoc ()
 Access the continuous phase density.
const vectorUc () const
 Return the continuous phase velocity.
vectorUc ()
 Access the continuous phase velocity.
scalar muc () const
 Return the continuous phase viscosity.
scalar & muc ()
 Access the continuous phase viscosity.
const vectorg () const
trackPart part () const
 Return the part of the tracking operation taking place.
trackPartpart ()
 Return access to the part of the tracking operation taking place.
template<class TrackCloudType>
void updateAverages (const TrackCloudType &cloud)
 Update the MPPIC averages.

Detailed Description

template<class ParcelType>
class Foam::KinematicParcel< ParcelType >::trackingData

Definition at line 190 of file KinematicParcel.H.

Member Enumeration Documentation

◆ trackPart

template<class ParcelType>
enum trackPart
Enumerator
tpVelocityHalfStep 
tpLinearTrack 
tpRotationalTrack 

Definition at line 196 of file KinematicParcel.H.

Constructor & Destructor Documentation

◆ trackingData()

template<class ParcelType>
template<class TrackCloudType>
trackingData ( const TrackCloudType & cloud,
trackPart part = tpLinearTrack )
inline

Construct from components.

Definition at line 28 of file KinematicParcelTrackingDataI.H.

References dict, g(), mesh, mu, Foam::name(), Foam::New(), part(), KinematicParcel< ParcelType >::rho(), timeName, trackingData(), KinematicParcel< ParcelType >::U(), and Foam::Zero.

Referenced by trackingData().

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

Member Function Documentation

◆ rhoInterp()

template<class ParcelType>
const Foam::interpolation< Foam::scalar > & rhoInterp ( ) const
inline

Return const access to the interpolator for continuous phase density field.

Definition at line 169 of file KinematicParcelTrackingDataI.H.

◆ UInterp()

template<class ParcelType>
const Foam::interpolation< Foam::vector > & UInterp ( ) const
inline

Return const access to the interpolator for continuous phase velocity field.

Definition at line 177 of file KinematicParcelTrackingDataI.H.

◆ muInterp()

template<class ParcelType>
const Foam::interpolation< Foam::scalar > & muInterp ( ) const
inline

Return const access to the interpolator for continuous phase dynamic viscosity field.

Definition at line 185 of file KinematicParcelTrackingDataI.H.

◆ rhoc() [1/2]

template<class ParcelType>
Foam::scalar rhoc ( ) const
inline

Return the continuous phase density.

Definition at line 201 of file KinematicParcelTrackingDataI.H.

◆ rhoc() [2/2]

template<class ParcelType>
Foam::scalar & rhoc ( )
inline

Access the continuous phase density.

Definition at line 208 of file KinematicParcelTrackingDataI.H.

◆ Uc() [1/2]

template<class ParcelType>
const Foam::vector & Uc ( ) const
inline

Return the continuous phase velocity.

Definition at line 216 of file KinematicParcelTrackingDataI.H.

◆ Uc() [2/2]

template<class ParcelType>
Foam::vector & Uc ( )
inline

Access the continuous phase velocity.

Definition at line 223 of file KinematicParcelTrackingDataI.H.

◆ muc() [1/2]

template<class ParcelType>
Foam::scalar muc ( ) const
inline

Return the continuous phase viscosity.

Definition at line 230 of file KinematicParcelTrackingDataI.H.

◆ muc() [2/2]

template<class ParcelType>
Foam::scalar & muc ( )
inline

Access the continuous phase viscosity.

Definition at line 237 of file KinematicParcelTrackingDataI.H.

◆ g()

template<class ParcelType>
const Foam::vector & g ( ) const
inline

Definition at line 193 of file KinematicParcelTrackingDataI.H.

Referenced by trackingData().

Here is the caller graph for this function:

◆ part() [1/2]

template<class ParcelType>
Foam::KinematicParcel< ParcelType >::trackingData::trackPart part ( ) const
inline

Return the part of the tracking operation taking place.

Definition at line 245 of file KinematicParcelTrackingDataI.H.

Referenced by trackingData().

Here is the caller graph for this function:

◆ part() [2/2]

template<class ParcelType>
Foam::KinematicParcel< ParcelType >::trackingData::trackPart & part ( )
inline

Return access to the part of the tracking operation taking place.

Definition at line 253 of file KinematicParcelTrackingDataI.H.

◆ updateAverages()

template<class ParcelType>
template<class TrackCloudType>
void updateAverages ( const TrackCloudType & cloud)
inline

Update the MPPIC averages.

Definition at line 261 of file KinematicParcelTrackingDataI.H.

References IOobject::db(), IOobject::name(), AveragingMethod< Type >::New(), p, IOobject::scopedName(), objectRegistry::time(), Time::timeName(), and Foam::Zero.

Here is the call graph for this function:

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