Helper container for force Su and Sp terms. More...
Public Member Functions | |
forceSuSp () | |
Construct null. More... | |
forceSuSp (const Tuple2< vector, scalar > &susp) | |
Construct given Tuple2. More... | |
forceSuSp (const vector &Su, const scalar Sp) | |
Construct given two components. More... | |
forceSuSp (Istream &) | |
Construct from Istream. More... | |
const vector & | Su () const |
Return const access to the explicit contribution [kg m/s^2]. More... | |
scalar | Sp () const |
Return const access to the implicit coefficient [kg/s]. More... | |
vector & | Su () |
Return reference to the explicit contribution. More... | |
scalar & | Sp () |
Return reference to the implicit coefficient. More... | |
void | operator+= (const forceSuSp &susp) |
Addition. More... | |
void | operator-= (const forceSuSp &susp) |
Subtraction. More... | |
Public Member Functions inherited from Tuple2< vector, scalar > | |
const char *const | typeName ("Tuple2<word,scalar>") |
Tuple2 () | |
Null constructor for lists. More... | |
Tuple2 (const vector &f, const scalar &s) | |
Construct from components. More... | |
Tuple2 (Istream &is) | |
Construct from Istream. More... | |
const vector & | first () const |
Return first. More... | |
vector & | first () |
Return first. More... | |
const scalar & | second () const |
Return second. More... | |
scalar & | second () |
Return second. More... | |
Friends | |
forceSuSp | operator* (const forceSuSp &susp1, const forceSuSp &susp2) |
Addition. More... | |
forceSuSp | operator* (const scalar s, const forceSuSp &susp) |
Multiplication. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Tuple2< vector, scalar > | |
static const char *const | typeName |
Helper container for force Su and Sp terms.
Explicit contribution, Su specified as a force Implicit coefficient, Sp specified as force/velocity
Definition at line 61 of file forceSuSp.H.
|
inline |
Construct null.
Definition at line 28 of file forceSuSpI.H.
Referenced by Foam::operator*(), and Foam::operator+().
Construct given Tuple2.
Definition at line 33 of file forceSuSpI.H.
Construct given two components.
Definition at line 41 of file forceSuSpI.H.
References Tuple2< vector, scalar >::first(), Tuple2< vector, scalar >::second(), forceSuSp::Sp(), and forceSuSp::Su().
Construct from Istream.
Definition at line 48 of file forceSuSpI.H.
|
inline |
Return const access to the explicit contribution [kg m/s^2].
Definition at line 56 of file forceSuSpI.H.
References Tuple2< vector, scalar >::first().
Referenced by VirtualMassForce< CloudType >::calcCoupled(), PressureGradientForce< CloudType >::calcCoupled(), LiftForce< CloudType >::calcCoupled(), BrownianMotionForce< CloudType >::calcCoupled(), ParticleForce< Foam::DSMCCloud >::calcCoupled(), SRFForce< CloudType >::calcNonCoupled(), GravityForce< CloudType >::calcNonCoupled(), ParamagneticForce< CloudType >::calcNonCoupled(), NonInertialFrameForce< CloudType >::calcNonCoupled(), ParticleForce< Foam::DSMCCloud >::calcNonCoupled(), MomentumParcel< ParcelType >::calcVelocity(), and forceSuSp::forceSuSp().
|
inline |
Return const access to the implicit coefficient [kg/s].
Definition at line 62 of file forceSuSpI.H.
References Tuple2< vector, scalar >::second().
Referenced by SprayParcel< ParcelType >::calcBreakup(), ParticleForce< Foam::DSMCCloud >::calcCoupled(), ParticleForce< Foam::DSMCCloud >::calcNonCoupled(), MomentumParcel< ParcelType >::calcVelocity(), and forceSuSp::forceSuSp().
|
inline |
Return reference to the explicit contribution.
Definition at line 68 of file forceSuSpI.H.
References Tuple2< vector, scalar >::first().
|
inline |
Return reference to the implicit coefficient.
Definition at line 74 of file forceSuSpI.H.
References Tuple2< vector, scalar >::second().
Addition.
Definition at line 82 of file forceSuSpI.H.
References Tuple2< vector, scalar >::first(), Tuple2< Type1, Type2 >::first(), Tuple2< vector, scalar >::second(), and Tuple2< Type1, Type2 >::second().
Subtraction.
Definition at line 89 of file forceSuSpI.H.
References Tuple2< vector, scalar >::first(), Tuple2< Type1, Type2 >::first(), Tuple2< vector, scalar >::second(), and Tuple2< Type1, Type2 >::second().