OpenLB 1.7
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
particleDynamicsFunctions.h File Reference
#include "particles/contact/contactContainer.h"
#include "particles/contact/wall.h"
#include <cassert>
+ Include dependency graph for particleDynamicsFunctions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  olb::particles::dynamics::torque_from_force< D, T >
 

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 
namespace  olb::particles
 
namespace  olb::particles::defaults
 
namespace  olb::particles::contact
 
namespace  olb::particles::dynamics
 

Functions

template<unsigned D>
constexpr bool olb::particles::isPeriodic (const Vector< bool, D > &periodic)
 
template<typename T , typename PARTICLECONTACTTYPE , typename WALLCONTACTTYPE >
void olb::particles::contact::communicateContacts (ContactContainer< T, PARTICLECONTACTTYPE, WALLCONTACTTYPE > &contactContainer)
 
template<typename T , typename PARTICLETYPE >
constexpr Vector< T, PARTICLETYPE::d > olb::particles::dynamics::calculateLocalVelocity (Particle< T, PARTICLETYPE > &particle, const PhysR< T, PARTICLETYPE::d > &input)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::dynamics::unserializeForceTorqueVoxels (Vector< T, PARTICLETYPE::d > &force, Vector< T, utilities::dimensions::convert< PARTICLETYPE::d >::rotation > &torque, T serializedFunctorForceField[], int iP)
 Unserialize force field provieded by force integration functor (e.g. momentumExchange)
 
template<typename T , typename PARTICLETYPE >
void olb::particles::dynamics::unserializeForce (Vector< T, PARTICLETYPE::d > &force, T serializedFunctorForceField[], int iP)
 Unserialize force field provieded by force integration functor (e.g. stokesDragForce)
 
template<typename T , typename PARTICLETYPE , typename FORCEFUNCTOR >
void olb::particles::dynamics::applySerializableParticleForce (FORCEFUNCTOR &forceF, ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t iP0=0)
 Apply boundary force provided by force functor to the particle center as torque and force.
 
template<typename T , typename PARTICLETYPE , typename FORCEFUNCTOR , typename PCONDITION = conditions::valid_particles>
void olb::particles::dynamics::applyLocalParticleForce (FORCEFUNCTOR &forceF, ParticleSystem< T, PARTICLETYPE > &particleSystem, std::size_t iP0=0)
 Apply boundary force provided by force functor to the particle center as torque and force.
 
template<typename T , typename PARTICLETYPE >
void olb::particles::dynamics::initializeParticle (DynamicFieldGroupsD< T, typename PARTICLETYPE::fields_t > &dynamicFieldGroups, std::size_t iP)
 Initialize all fields in particle (necessary for clang)
 
template<typename T , typename DESCRIPTOR , typename PARTICLETYPE , typename PARTICLECONTACTTYPE , typename WALLCONTACTTYPE , typename F = decltype(defaults::periodicity<DESCRIPTOR::d>)>
void olb::particles::dynamics::coupleResolvedParticlesToLattice (ParticleSystem< T, PARTICLETYPE > &particleSystem, contact::ContactContainer< T, PARTICLECONTACTTYPE, WALLCONTACTTYPE > &contactContainer, const SuperGeometry< T, DESCRIPTOR::d > &sGeometry, SuperLattice< T, DESCRIPTOR > &sLattice, UnitConverter< T, DESCRIPTOR > const &converter, std::vector< SolidBoundary< T, DESCRIPTOR::d > > &solidBoundaries, F getSetupPeriodicity=defaults::periodicity< DESCRIPTOR::d >)
 Couple particle to lattice and detect contacts of resolved particles.
 
template<typename T , typename DESCRIPTOR , typename PARTICLETYPE , typename PARTICLECONTACTTYPE , typename WALLCONTACTTYPE , typename F = decltype(defaults::periodicity<DESCRIPTOR::d>)>
void olb::particles::dynamics::coupleResolvedParticlesToLattice (ParticleSystem< T, PARTICLETYPE > &particleSystem, contact::ContactContainer< T, PARTICLECONTACTTYPE, WALLCONTACTTYPE > &contactContainer, const SuperGeometry< T, DESCRIPTOR::d > &sGeometry, SuperLattice< T, DESCRIPTOR > &sLattice, UnitConverter< T, DESCRIPTOR > const &converter, F getSetupPeriodicity=defaults::periodicity< DESCRIPTOR::d >)
 Couple particle to lattice and detect contacts of resolved particles.
 
template<typename T , typename DESCRIPTOR , typename PARTICLETYPE , typename PARTICLECONTACTTYPE , typename WALLCONTACTTYPE , typename F = decltype(defaults::periodicity<DESCRIPTOR::d>)>
void olb::particles::dynamics::coupleResolvedParticlesToLattice (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, contact::ContactContainer< T, PARTICLECONTACTTYPE, WALLCONTACTTYPE > &contactContainer, const SuperGeometry< T, DESCRIPTOR::d > &sGeometry, SuperLattice< T, DESCRIPTOR > &sLattice, UnitConverter< T, DESCRIPTOR > const &converter, std::vector< SolidBoundary< T, DESCRIPTOR::d > > &solidBoundaries, F getSetupPeriodicity=defaults::periodicity< DESCRIPTOR::d >)
 Couple particle to lattice and detect contacts of resolved particles.
 
template<typename T , typename DESCRIPTOR , typename PARTICLETYPE , typename PARTICLECONTACTTYPE , typename WALLCONTACTTYPE , typename F = decltype(defaults::periodicity<DESCRIPTOR::d>)>
void olb::particles::dynamics::coupleResolvedParticlesToLattice (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, contact::ContactContainer< T, PARTICLECONTACTTYPE, WALLCONTACTTYPE > &contactContainer, const SuperGeometry< T, DESCRIPTOR::d > &sGeometry, SuperLattice< T, DESCRIPTOR > &sLattice, UnitConverter< T, DESCRIPTOR > const &converter, F getSetupPeriodicity=defaults::periodicity< DESCRIPTOR::d >)
 Couple particle to lattice and detect contacts of resolved particles.
 
template<typename T , typename PARTICLETYPE >
olb::particles::dynamics::calcKineticEnergy (Particle< T, PARTICLETYPE > &particle)
 

Variables

template<unsigned D>
const auto olb::particles::defaults::periodicity