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

Abstact class for all the drag models. More...

#include <dragModels3D.h>

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

Public Member Functions

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

Protected Attributes

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

Abstact class for all the drag models.

The virtual method computeDragCoeff returns the drag coefficient. Input parameters in attice units.

Definition at line 55 of file dragModels3D.h.

Constructor & Destructor Documentation

◆ DragModelBase()

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

Constructor.

Definition at line 37 of file dragModels3D.hh.

38 : _converter(converter)
39{}
UnitConverter< T, Lattice > & _converter
Returns the scalar drag coefficient to overload.

Member Data Documentation

◆ _converter

template<typename T , typename Lattice , template< typename V > class Particle>
UnitConverter<T, Lattice>& olb::DragModelBase< T, Lattice, Particle >::_converter
protected

Returns the scalar drag coefficient to overload.

Definition at line 62 of file dragModels3D.h.


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