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.
F = Sp(U - Up) + Su
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.
Construct given Tuple2.
Definition at line 32 of file forceSuSpI.H.
Construct given two components.
Definition at line 41 of file forceSuSpI.H.
References Foam::first(), Foam::second(), Foam::fvc::Sp(), and Foam::fvc::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 Foam::first().
Referenced by LiftForce< CloudType >::calcCoupled(), ParticleForce< CloudType >::calcCoupled(), PressureGradientForce< CloudType >::calcCoupled(), VirtualMassForce< CloudType >::calcCoupled(), BrownianMotionForce< CloudType >::calcCoupled(), GravityForce< CloudType >::calcNonCoupled(), NonInertialFrameForce< CloudType >::calcNonCoupled(), ParamagneticForce< CloudType >::calcNonCoupled(), ParticleForce< CloudType >::calcNonCoupled(), and MomentumParcel< ParcelType >::calcVelocity().
|
inline |
Return const access to the implicit coefficient [kg/s].
Definition at line 62 of file forceSuSpI.H.
References Foam::second().
Referenced by SprayParcel< ParcelType >::calcBreakup(), ParticleForce< CloudType >::calcCoupled(), ParticleForce< CloudType >::calcNonCoupled(), and MomentumParcel< ParcelType >::calcVelocity().
|
inline |
Return reference to the explicit contribution.
Definition at line 68 of file forceSuSpI.H.
References Foam::first().
|
inline |
Return reference to the implicit coefficient.
Definition at line 74 of file forceSuSpI.H.
References Foam::second().
Addition.
Definition at line 82 of file forceSuSpI.H.
References Tuple2< Type1, Type2 >::first(), Foam::first(), Tuple2< Type1, Type2 >::second(), and Foam::second().
Subtraction.
Definition at line 89 of file forceSuSpI.H.
References Tuple2< Type1, Type2 >::first(), Foam::first(), Tuple2< Type1, Type2 >::second(), and Foam::second().