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

Class to compute the standard drag coefficient as in Schiller and Naumann (1935), in a power-law fluid. More...

#include <dragModels3D.h>

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

Public Member Functions

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

Class to compute the standard drag coefficient as in Schiller and Naumann (1935), in a power-law fluid.

Definition at line 118 of file dragModels3D.h.

Constructor & Destructor Documentation

◆ PowerLawSchillerNaumannDragModel()

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

Constructor.

Definition at line 163 of file dragModels3D.hh.

165 : SchillerNaumannDragModel<T,Lattice,Particle>(converter)
166{
167 this->_reP = std::make_shared<PowerLawParticleReynoldsNumber<T,Lattice,Particle> > (this->_converter, sLattice);
168}
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::PowerLawSchillerNaumannDragModel< T, Lattice, Particle >::name ( )
inlineoverridevirtual

Implements olb::DragModel< T, Particle >.

Definition at line 122 of file dragModels3D.h.

122{return "PowerLawSchillerNaumannDragModel";}

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