OpenLB 1.7
|
Abstact class for all the local forward-coupling models, viz., momentum coupling from fluid to particle. More...
#include <forwardCouplingModels3D.h>
Public Member Functions | |
virtual bool | operator() (Particle< T > *p, int globic) override |
Class operator to apply the coupling, for overload. | |
Protected Member Functions | |
LocalBaseForwardCouplingModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, SuperGeometry< T, 3 > &sGeometry, std::shared_ptr< DragModel< T, Particle > > dragModel) | |
Constructor. | |
Protected Member Functions inherited from olb::BaseForwardCouplingModel< T, Lattice, Particle > | |
BaseForwardCouplingModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, SuperGeometry< T, 3 > &sGeometry, std::shared_ptr< DragModel< T, Particle > > dragModel) | |
Constructor. | |
Protected Member Functions inherited from olb::ForwardCouplingModel< T, Particle > | |
ForwardCouplingModel (SuperGeometry< T, 3 > &sGeometry, std::shared_ptr< DragModel< T, Particle > > dragModel) | |
Constructor. | |
Additional Inherited Members | |
Protected Attributes inherited from olb::BaseForwardCouplingModel< T, Lattice, Particle > | |
UnitConverter< T, Lattice > & | _converter |
SuperLattice< T, Lattice > & | _sLattice |
std::shared_ptr< SuperLatticeInterpDensity3Degree3D< T, Lattice > > | _interpLatticeDensity |
std::shared_ptr< SuperLatticeInterpPhysVelocity3D< T, Lattice > > | _interpLatticeVelocity |
std::shared_ptr< TwoWayHelperFunctional< T, Lattice > > | _momentumExchange |
Protected Attributes inherited from olb::ForwardCouplingModel< T, Particle > | |
SuperGeometry< T, 3 > & | _sGeometry |
std::shared_ptr< DragModel< T, Particle > > | _dragModel |
Abstact class for all the local forward-coupling models, viz., momentum coupling from fluid to particle.
Input parameters in attice units.
Definition at line 78 of file forwardCouplingModels3D.h.
|
protected |
Constructor.
Definition at line 67 of file forwardCouplingModels3D.hh.
|
overridevirtual |
Class operator to apply the coupling, for overload.
Getting the particle and its containing cell's position
Computing drag force in dimensionless units
Computing physical drag force
Updating the particle
Implements olb::ForwardCouplingModel< T, Particle >.
Definition at line 76 of file forwardCouplingModels3D.hh.
References M_PI, and olb::util::pow().