Helper container for force Su and Sp terms. More...


Public Member Functions | |
| forceSuSp ()=default | |
| Default construct. More... | |
| forceSuSp (const Foam::zero) | |
| Construct zero-initialized content. 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 &is) | |
| 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) |
| Addition. More... | |
| void | operator-= (const forceSuSp &susp) |
| Subtraction. More... | |
Public Member Functions inherited from Tuple2< vector, scalar > | |
| Tuple2 ()=default | |
| Default construct. More... | |
| Tuple2 (const vector &f, const scalar &s) | |
| Copy construct from components. More... | |
| Tuple2 (vector &&f, scalar &&s) | |
| Move construct from components. More... | |
| Tuple2 (const std::pair< vector, scalar > &vals) | |
| Copy construct from std::pair. More... | |
| Tuple2 (std::pair< vector, scalar > &&vals) | |
| Move construct from std::pair. More... | |
| Tuple2 (Istream &is) | |
| Construct from Istream. More... | |
| const vector & | first () const noexcept |
| Access the first element. More... | |
| vector & | first () noexcept |
| Access the first element. More... | |
| const scalar & | second () const noexcept |
| Access the second element. More... | |
| scalar & | second () noexcept |
| Access the second element. 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 | |
Public Types inherited from Tuple2< vector, scalar > | |
| typedef vector | first_type |
| Type of member first, the first template parameter (T1) More... | |
| typedef scalar | second_type |
| Type of member second, the second template parameter (T2) 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 60 of file forceSuSp.H.
|
default |
Default construct.
|
inline |
Construct zero-initialized content.
Definition at line 24 of file forceSuSpI.H.
Construct given Tuple2.
Definition at line 31 of file forceSuSpI.H.
Construct from Istream.
Definition at line 46 of file forceSuSpI.H.
|
inline |
Return const access to the explicit contribution [kg.m/s2].
Definition at line 54 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(), InterfaceForce< CloudType >::calcNonCoupled(), ParamagneticForce< CloudType >::calcNonCoupled(), NonInertialFrameForce< CloudType >::calcNonCoupled(), ParticleForce< CloudType >::calcNonCoupled(), and KinematicParcel< ParcelType >::calcVelocity().

|
inline |
Return const access to the implicit coefficient [kg/s].
Definition at line 60 of file forceSuSpI.H.
Referenced by SprayParcel< ParcelType >::calcBreakup(), ParticleForce< CloudType >::calcCoupled(), ParticleForce< CloudType >::calcNonCoupled(), and KinematicParcel< ParcelType >::calcVelocity().

|
inline |
Return reference to the explicit contribution.
Definition at line 66 of file forceSuSpI.H.
|
inline |
Return reference to the implicit coefficient.
Definition at line 72 of file forceSuSpI.H.
|
inline |
Addition.
Definition at line 80 of file forceSuSpI.H.
References Tuple2< T1, T2 >::first(), and Tuple2< T1, T2 >::second().

|
inline |
Subtraction.
Definition at line 87 of file forceSuSpI.H.
References Tuple2< T1, T2 >::first(), and Tuple2< T1, T2 >::second().

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.