thermoParcelInjectionData Class Reference

Container class to provide injection data for thermodynamic parcels. More...

Inheritance diagram for thermoParcelInjectionData:
Collaboration diagram for thermoParcelInjectionData:

Public Member Functions

 TypeName ("thermoParcelInjectionData")
 Runtime type information. More...
 
 thermoParcelInjectionData ()
 Null constructor. More...
 
 thermoParcelInjectionData (const dictionary &dict)
 Construct from dictionary. More...
 
 thermoParcelInjectionData (Istream &is)
 Construct from Istream. More...
 
virtual ~thermoParcelInjectionData ()
 Destructor. More...
 
scalar T () const
 Return const access to the temperature. More...
 
scalar Cp () const
 Return const access to the specific heat capacity. More...
 
scalar & T ()
 Return access to the temperature. More...
 
scalar & Cp ()
 Return access to the specific heat capacity. More...
 
- Public Member Functions inherited from momentumParcelInjectionData
 TypeName ("momentumParcelInjectionData")
 Runtime type information. More...
 
 momentumParcelInjectionData ()
 Null constructor. More...
 
 momentumParcelInjectionData (const dictionary &dict)
 Construct from dictionary. More...
 
 momentumParcelInjectionData (Istream &is)
 Construct from Istream. More...
 
virtual ~momentumParcelInjectionData ()
 Destructor. More...
 
const pointx () const
 Return const access to the position. More...
 
const vectorU () const
 Return const access to the velocity. More...
 
scalar d () const
 Return const access to the diameter. More...
 
scalar rho () const
 Return const access to the density. More...
 
scalar mDot () const
 Return const access to the mass flow rate. More...
 
pointx ()
 Return access to the position. More...
 
vectorU ()
 Return access to the velocity. More...
 
scalar & d ()
 Return access to the diameter. More...
 
scalar & rho ()
 Return access to the density. More...
 
scalar & mDot ()
 Return access to the mass flow rate. More...
 

Protected Attributes

scalar T_
 Temperature [K]. More...
 
scalar Cp_
 Specific heat capacity [J/kg/K]. More...
 
- Protected Attributes inherited from momentumParcelInjectionData
point x_
 Position [m]. More...
 
vector U_
 Velocity [m/s]. More...
 
scalar d_
 Diameter [m]. More...
 
scalar rho_
 Density [kg/m^3]. More...
 
scalar mDot_
 Mass flow rate [kg/s]. More...
 

Friends

Ostreamoperator<< (Ostream &os, const thermoParcelInjectionData &data)
 Ostream operator. More...
 
Istreamoperator>> (Istream &is, thermoParcelInjectionData &data)
 Istream operator. More...
 

Detailed Description

Container class to provide injection data for thermodynamic parcels.

Source files

Definition at line 65 of file thermoParcelInjectionData.H.

Constructor & Destructor Documentation

◆ thermoParcelInjectionData() [1/3]

Null constructor.

Definition at line 37 of file thermoParcelInjectionData.C.

◆ thermoParcelInjectionData() [2/3]

Construct from dictionary.

Definition at line 46 of file thermoParcelInjectionData.C.

◆ thermoParcelInjectionData() [3/3]

Construct from Istream.

Definition at line 30 of file thermoParcelInjectionDataIO.C.

References IOstream::check(), thermoParcelInjectionData::Cp_, and thermoParcelInjectionData::T_.

Here is the call graph for this function:

◆ ~thermoParcelInjectionData()

Destructor.

Definition at line 57 of file thermoParcelInjectionData.C.

Member Function Documentation

◆ TypeName()

TypeName ( "thermoParcelInjectionData"  )

Runtime type information.

◆ T() [1/2]

Foam::scalar T ( ) const
inline

Return const access to the temperature.

Definition at line 30 of file thermoParcelInjectionDataI.H.

References thermoParcelInjectionData::T_.

◆ Cp() [1/2]

Foam::scalar Cp ( ) const
inline

Return const access to the specific heat capacity.

Definition at line 36 of file thermoParcelInjectionDataI.H.

References thermoParcelInjectionData::Cp_.

◆ T() [2/2]

Foam::scalar & T ( )
inline

Return access to the temperature.

Definition at line 42 of file thermoParcelInjectionDataI.H.

References thermoParcelInjectionData::T_.

◆ Cp() [2/2]

Foam::scalar & Cp ( )
inline

Return access to the specific heat capacity.

Definition at line 48 of file thermoParcelInjectionDataI.H.

References thermoParcelInjectionData::Cp_.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const thermoParcelInjectionData data 
)
friend

Ostream operator.

◆ operator>>

Istream& operator>> ( Istream is,
thermoParcelInjectionData data 
)
friend

Istream operator.

Member Data Documentation

◆ T_

scalar T_
protected

◆ Cp_

scalar Cp_
protected

Specific heat capacity [J/kg/K].

Definition at line 77 of file thermoParcelInjectionData.H.

Referenced by thermoParcelInjectionData::Cp(), Foam::operator>>(), and thermoParcelInjectionData::thermoParcelInjectionData().


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