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/s2]. 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) |
Assignment. More... | |
void | operator+= (const forceSuSp &susp) |
Addition. More... | |
void | operator-= (const forceSuSp &susp) |
Subtraction. More... | |
![]() | |
Tuple2 () | |
Null constructor for lists. More... | |
Tuple2 (const Type1 &f, const Type2 &s) | |
Construct from components. More... | |
Tuple2 (Istream &is) | |
Construct from Istream. More... | |
const Type1 & | first () const |
Return first. More... | |
Type1 & | first () |
Return first. More... | |
const Type2 & | second () const |
Return second. More... | |
Type2 & | 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... | |
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 58 of file forceSuSp.H.
|
inline |
Construct null.
Definition at line 28 of file forceSuSpI.H.
Construct given Tuple2.
Definition at line 33 of file forceSuSpI.H.
Construct given two components.
Definition at line 41 of file forceSuSpI.H.
References 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/s2].
Definition at line 56 of file forceSuSpI.H.
Referenced by VirtualMassForce< CloudType >::calcCoupled(), PressureGradientForce< CloudType >::calcCoupled(), LiftForce< CloudType >::calcCoupled(), BrownianMotionForce< CloudType >::calcCoupled(), ParticleForce< CloudType >::calcCoupled(), SRFForce< CloudType >::calcNonCoupled(), GravityForce< CloudType >::calcNonCoupled(), ParamagneticForce< CloudType >::calcNonCoupled(), NonInertialFrameForce< CloudType >::calcNonCoupled(), ParticleForce< CloudType >::calcNonCoupled(), and KinematicParcel::calcVelocity().
|
inline |
Return const access to the implicit coefficient [kg/s].
Definition at line 62 of file forceSuSpI.H.
Referenced by SprayParcel::calcBreakup(), SphereDragForce< CloudType >::calcCoupled(), DistortedSphereDragForce< CloudType >::calcCoupled(), NonSphereDragForce< CloudType >::calcCoupled(), ParticleForce< CloudType >::calcCoupled(), ParticleForce< CloudType >::calcNonCoupled(), and KinematicParcel::calcVelocity().
|
inline |
Return reference to the explicit contribution.
|
inline |
Return reference to the implicit coefficient.
Assignment.
Definition at line 82 of file forceSuSpI.H.
References Tuple2::first(), and Tuple2::second().
Addition.
Definition at line 89 of file forceSuSpI.H.
References Tuple2::first(), and Tuple2::second().
Subtraction.
Definition at line 96 of file forceSuSpI.H.
References Tuple2::first(), and Tuple2::second().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.