OpenLB 1.7
|
#include <latticeStokesDragForce.h>
Public Member Functions | |
BlockLatticeStokesDragForce (BlockLattice< T, DESCRIPTOR > &blockLattice, const BlockGeometry< T, DESCRIPTOR::d > &blockGeometry, particles::ParticleSystem< T, PARTICLETYPE > &particleSystem, const UnitConverter< T, DESCRIPTOR > &converter, PhysR< T, DESCRIPTOR::d > cellMin=PhysR< T, DESCRIPTOR::d >(0.), PhysR< T, DESCRIPTOR::d > cellMax=PhysR< T, DESCRIPTOR::d >(0.), Vector< bool, DESCRIPTOR::d > periodic=Vector< bool, DESCRIPTOR::d >(false), std::size_t iP0=0, const std::unordered_set< int > &ignoredMaterials=std::unordered_set< int >{}, const F f=[](auto &, const auto &, const auto &, const auto &){}) | |
void | evaluate (T output[], particles::Particle< T, PARTICLETYPE > &particle, int iP) |
bool | operator() (T output[], const int input[]) override |
Static Public Attributes | |
static constexpr bool | serializeForce = serialize |
Definition at line 39 of file latticeStokesDragForce.h.
olb::BlockLatticeStokesDragForce< T, DESCRIPTOR, PARTICLETYPE, serialize >::BlockLatticeStokesDragForce | ( | BlockLattice< T, DESCRIPTOR > & | blockLattice, |
const BlockGeometry< T, DESCRIPTOR::d > & | blockGeometry, | ||
particles::ParticleSystem< T, PARTICLETYPE > & | particleSystem, | ||
const UnitConverter< T, DESCRIPTOR > & | converter, | ||
PhysR< T, DESCRIPTOR::d > | cellMin = PhysR<T,DESCRIPTOR::d> (0.), | ||
PhysR< T, DESCRIPTOR::d > | cellMax = PhysR<T,DESCRIPTOR::d> (0.), | ||
Vector< bool, DESCRIPTOR::d > | periodic = Vector<bool,DESCRIPTOR::d> (false), | ||
std::size_t | iP0 = 0, | ||
const std::unordered_set< int > & | ignoredMaterials = std::unordered_set<int>{}, | ||
const F | f = [](auto&, const auto&, const auto&, const auto&){} ) |
Definition at line 33 of file latticeStokesDragForce.hh.
References olb::UnitConverter< T, DESCRIPTOR >::getConversionFactorTime(), olb::UnitConverter< T, DESCRIPTOR >::getPhysDensity(), olb::UnitConverter< T, DESCRIPTOR >::getPhysViscosity(), and M_PI.
void olb::BlockLatticeStokesDragForce< T, DESCRIPTOR, PARTICLETYPE, serialize >::evaluate | ( | T | output[], |
particles::Particle< T, PARTICLETYPE > & | particle, | ||
int | iP ) |
Definition at line 60 of file latticeStokesDragForce.hh.
References olb::Vector< T, D >::data().
|
override |
Definition at line 127 of file latticeStokesDragForce.hh.
References olb::particles::access::isValid().
|
staticconstexpr |
Definition at line 69 of file latticeStokesDragForce.h.