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

Class to compute the standard drag coefficient as in Morsi and Alexander (1972), in a power-law fluid. More...

#include <dragModels3D.h>

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

Public Member Functions

 PowerLawMorsiDragModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice)
 Constructor.
 
std::string name () override
 
- Public Member Functions inherited from olb::MorsiDragModel< T, Lattice, Particle >
 MorsiDragModel (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] }.
 
- 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::PowerLawMorsiDragModel< T, Lattice, Particle >

Class to compute the standard drag coefficient as in Morsi and Alexander (1972), in a power-law fluid.

Definition at line 94 of file dragModels3D.h.

Constructor & Destructor Documentation

◆ PowerLawMorsiDragModel()

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

Constructor.

Definition at line 126 of file dragModels3D.hh.

128 : MorsiDragModel<T,Lattice,Particle>(converter)
129{
130 this->_reP = std::make_shared<PowerLawParticleReynoldsNumber<T,Lattice,Particle> > (this->_converter, sLattice);
131}
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::PowerLawMorsiDragModel< T, Lattice, Particle >::name ( )
inlineoverridevirtual

Reimplemented from olb::MorsiDragModel< T, Lattice, Particle >.

Definition at line 98 of file dragModels3D.h.

98{return "PowerLawMorsiDragModel";}

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