OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::PowerLawSunDragModel< T, Lattice, Particle > Class Template Reference

Class to compute the drag coefficient for gas bubbles in a liquid fluid phase as in Sun, Guo, Wang et al. More...

#include <dragModels3D.h>

+ Inheritance diagram for olb::PowerLawSunDragModel< T, Lattice, Particle >:
+ Collaboration diagram for olb::PowerLawSunDragModel< T, Lattice, Particle >:

Public Member Functions

 PowerLawSunDragModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice)
 Constructor.
 
std::string name () override
 
- Public Member Functions inherited from olb::SunDragModel< T, Lattice, Particle >
 SunDragModel (UnitConverter< T, Lattice > &converter)
 Constructor.
 
virtual T operator() (Particle< T > *p, T latticeVelF[], T latticeVelP[], int globicFull[], T continuousPhaseFraction=1.) override
 Returns the scalar drag coefficient. globicFull = { globic, latticeRoundedP[0, ..., 2] }.
 
std::string name () override
 
- Public Member Functions inherited from olb::DragModelBase< T, Lattice, Particle >
 DragModelBase (UnitConverter< T, Lattice > &converter)
 Constructor.
 

Additional Inherited Members

- Protected Attributes inherited from olb::DragModelBase< T, Lattice, Particle >
UnitConverter< T, Lattice > & _converter
 Returns the scalar drag coefficient to overload.
 
- Protected Attributes inherited from olb::DragModel< T, Particle >
std::shared_ptr< ParticleReynoldsNumber< T, Particle > > _reP
 Functional to compute particle Reynolds number.
 

Detailed Description

template<typename T, typename Lattice, template< typename V > class Particle>
class olb::PowerLawSunDragModel< T, Lattice, Particle >

Class to compute the drag coefficient for gas bubbles in a liquid fluid phase as in Sun, Guo, Wang et al.

(2015), in a power-law fluid.

Definition at line 166 of file dragModels3D.h.

Constructor & Destructor Documentation

◆ PowerLawSunDragModel()

template<typename T , typename Lattice , template< typename V > class Particle>
olb::PowerLawSunDragModel< T, Lattice, Particle >::PowerLawSunDragModel ( UnitConverter< T, Lattice > & converter,
SuperLattice< T, Lattice > & sLattice )

Constructor.

Definition at line 243 of file dragModels3D.hh.

245 : SunDragModel<T,Lattice,Particle>(converter)
246{
247 this->_reP = std::make_shared<PowerLawParticleReynoldsNumber<T,Lattice,Particle> > (this->_converter, sLattice);
248}
UnitConverter< T, Lattice > & _converter
Returns the scalar drag coefficient to overload.
std::shared_ptr< ParticleReynoldsNumber< T, Particle > > _reP
Functional to compute particle Reynolds number.

References olb::DragModelBase< T, Lattice, Particle >::_converter, and olb::DragModel< T, Particle >::_reP.

Member Function Documentation

◆ name()

template<typename T , typename Lattice , template< typename V > class Particle>
std::string olb::PowerLawSunDragModel< T, Lattice, Particle >::name ( )
inlineoverridevirtual

Implements olb::DragModel< T, Particle >.

Definition at line 170 of file dragModels3D.h.

170{return "PowerLawSunDragModel";}

The documentation for this class was generated from the following files: