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

Class to compute a drag coefficient Cd=1.83 for low-Re Stokes drag. More...

#include <dragModels3D.h>

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

Public Member Functions

 StokesSimplifiedDragModel (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::StokesSimplifiedDragModel< T, Lattice, Particle >

Class to compute a drag coefficient Cd=1.83 for low-Re Stokes drag.

Definition at line 68 of file dragModels3D.h.

Constructor & Destructor Documentation

◆ StokesSimplifiedDragModel()

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

Constructor.

Definition at line 45 of file dragModels3D.hh.

46 : DragModelBase<T,Lattice,Particle>(converter)
47{}

Member Function Documentation

◆ name()

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

Implements olb::DragModel< T, Particle >.

Definition at line 74 of file dragModels3D.h.

74{return "StokesSimplifiedDragModel";}

◆ operator()()

template<typename T , typename Lattice , template< typename V > class Particle>
T olb::StokesSimplifiedDragModel< T, Lattice, Particle >::operator() ( Particle< T > * p,
T latticeVelF[],
T latticeVelP[],
int globicFull[],
T continuousPhaseFraction = 1. )
overridevirtual

Returns the scalar drag coefficient. globicFull = { globic, latticeRoundedP[0, ..., 2] }.

Implements olb::DragModel< T, Particle >.

Definition at line 50 of file dragModels3D.hh.

52{
53 return 1.83;
54}

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