OpenLB 1.7
|
Class for a forward-coupling model as in Evrard, Denner and van Wachem (2019), but with an extra-normalization of the smoothing function. More...
#include <forwardCouplingModels3D.h>
Public Member Functions | |
vanWachemForwardCouplingModel (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, int nVoxelInterpPoints) | |
Constructor. | |
virtual bool | operator() (Particle< T > *p, int globic) override |
Class operator to apply the coupling, for overload. | |
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 |
Additional Inherited Members | |
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. | |
Class for a forward-coupling model as in Evrard, Denner and van Wachem (2019), but with an extra-normalization of the smoothing function.
Input parameters in attice units.
Definition at line 157 of file forwardCouplingModels3D.h.
olb::vanWachemForwardCouplingModel< T, Lattice, Particle >::vanWachemForwardCouplingModel | ( | 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, | ||
int | nVoxelInterpPoints ) |
Constructor.
Definition at line 307 of file forwardCouplingModels3D.hh.
References olb::BaseForwardCouplingModel< T, Lattice, Particle >::_converter, olb::BaseForwardCouplingModel< T, Lattice, Particle >::_interpLatticeDensity, olb::BaseForwardCouplingModel< T, Lattice, Particle >::_momentumExchange, and olb::BaseForwardCouplingModel< T, Lattice, Particle >::_sLattice.
|
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 321 of file forwardCouplingModels3D.hh.
References M_PI, and olb::util::pow().
|
protected |
Definition at line 168 of file forwardCouplingModels3D.h.