OpenLB 1.7
|
Class to compute the standard drag coefficient as in Morsi and Alexander (1972). More...
#include <dragModels3D.h>
Public Member Functions | |
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] }. | |
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. | |
Class to compute the standard drag coefficient as in Morsi and Alexander (1972).
Definition at line 81 of file dragModels3D.h.
olb::MorsiDragModel< T, Lattice, Particle >::MorsiDragModel | ( | UnitConverter< T, Lattice > & | converter | ) |
Constructor.
Definition at line 60 of file dragModels3D.hh.
References olb::DragModelBase< T, Lattice, Particle >::_converter, and olb::DragModel< T, Particle >::_reP.
|
inlineoverridevirtual |
Implements olb::DragModel< T, Particle >.
Reimplemented in olb::PowerLawMorsiDragModel< T, Lattice, Particle >.
Definition at line 87 of file dragModels3D.h.
|
overridevirtual |
Returns the scalar drag coefficient. globicFull = { globic, latticeRoundedP[0, ..., 2] }.
Implements olb::DragModel< T, Particle >.
Definition at line 67 of file dragModels3D.hh.
References olb::util::pow(), and olb::util::sqrt().