Container class to provide injection data for momentum parcels. More...
Public Member Functions | |
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 point & | x () const |
Return const access to the position. More... | |
const vector & | U () 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... | |
point & | x () |
Return access to the position. More... | |
vector & | U () |
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 | |
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 | |
bool | operator== (const momentumParcelInjectionData &a, const momentumParcelInjectionData &b) |
bool | operator!= (const momentumParcelInjectionData &a, const momentumParcelInjectionData &b) |
Ostream & | operator<< (Ostream &os, const momentumParcelInjectionData &data) |
Ostream operator. More... | |
Istream & | operator>> (Istream &is, momentumParcelInjectionData &data) |
Istream operator. More... | |
Container class to provide injection data for momentum parcels.
Definition at line 67 of file momentumParcelInjectionData.H.
Null constructor.
Definition at line 37 of file momentumParcelInjectionData.C.
momentumParcelInjectionData | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 47 of file momentumParcelInjectionData.C.
momentumParcelInjectionData | ( | Istream & | is | ) |
Construct from Istream.
Definition at line 30 of file momentumParcelInjectionDataIO.C.
References IOstream::check(), momentumParcelInjectionData::d_, momentumParcelInjectionData::mDot_, momentumParcelInjectionData::rho_, momentumParcelInjectionData::U_, and momentumParcelInjectionData::x_.
|
virtual |
Destructor.
Definition at line 61 of file momentumParcelInjectionData.C.
TypeName | ( | "momentumParcelInjectionData" | ) |
Runtime type information.
|
inline |
Return const access to the position.
Definition at line 30 of file momentumParcelInjectionDataI.H.
References momentumParcelInjectionData::x_.
|
inline |
Return const access to the velocity.
Definition at line 36 of file momentumParcelInjectionDataI.H.
|
inline |
Return const access to the diameter.
Definition at line 42 of file momentumParcelInjectionDataI.H.
|
inline |
Return const access to the density.
Definition at line 48 of file momentumParcelInjectionDataI.H.
|
inline |
Return const access to the mass flow rate.
Definition at line 54 of file momentumParcelInjectionDataI.H.
|
inline |
Return access to the position.
Definition at line 60 of file momentumParcelInjectionDataI.H.
|
inline |
Return access to the velocity.
Definition at line 66 of file momentumParcelInjectionDataI.H.
|
inline |
Return access to the diameter.
Definition at line 72 of file momentumParcelInjectionDataI.H.
|
inline |
Return access to the density.
Definition at line 78 of file momentumParcelInjectionDataI.H.
|
inline |
Return access to the mass flow rate.
Definition at line 84 of file momentumParcelInjectionDataI.H.
|
friend |
Definition at line 148 of file momentumParcelInjectionData.H.
|
friend |
Definition at line 159 of file momentumParcelInjectionData.H.
|
friend |
Ostream operator.
|
friend |
Istream operator.
|
protected |
Position [m].
Definition at line 74 of file momentumParcelInjectionData.H.
Referenced by momentumParcelInjectionData::momentumParcelInjectionData(), Foam::operator>>(), and momentumParcelInjectionData::x().
|
protected |
Velocity [m/s].
Definition at line 77 of file momentumParcelInjectionData.H.
Referenced by momentumParcelInjectionData::momentumParcelInjectionData(), and Foam::operator>>().
|
protected |
Diameter [m].
Definition at line 80 of file momentumParcelInjectionData.H.
Referenced by momentumParcelInjectionData::momentumParcelInjectionData(), and Foam::operator>>().
|
protected |
Density [kg/m^3].
Definition at line 83 of file momentumParcelInjectionData.H.
Referenced by momentumParcelInjectionData::momentumParcelInjectionData(), and Foam::operator>>().
|
protected |
Mass flow rate [kg/s].
Definition at line 86 of file momentumParcelInjectionData.H.
Referenced by momentumParcelInjectionData::momentumParcelInjectionData(), and Foam::operator>>().