OpenLB 1.7
|
Abstact class for all the non-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 | |
NonLocalBaseForwardCouplingModel (UnitConverter< T, Lattice > &converter, SuperLattice< T, Lattice > &sLattice, SuperGeometry< T, 3 > &sGeometry, std::shared_ptr< DragModel< T, Particle > > dragModel, std::shared_ptr< SmoothingFunctional< T, Lattice > > smoothingFunctional) | |
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. | |
Protected Attributes | |
std::shared_ptr< SmoothingFunctional< T, Lattice > > | _smoothingFunctional |
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 non-local forward-coupling models, viz., momentum coupling from fluid to particle.
Input parameters in attice units.
Definition at line 122 of file forwardCouplingModels3D.h.
|
protected |
Constructor.
Definition at line 196 of file forwardCouplingModels3D.hh.
|
overridevirtual |
Class operator to apply the coupling, for overload.
Getting the particle and its containing cell's position
Computing dimensionless drag force through smoothed average within the kernel smoothing length
Computing drag force in dimensionless units
Computing physical drag force
Updating the particle
Implements olb::ForwardCouplingModel< T, Particle >.
Definition at line 207 of file forwardCouplingModels3D.hh.
References M_PI, and olb::util::pow().
|
protected |
Definition at line 134 of file forwardCouplingModels3D.h.