Reply To: Custom Dynamic Touple SourcedDynamic
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Custom Dynamic Touple SourcedDynamic › Reply To: Custom Dynamic Touple SourcedDynamic
May 12, 2025 at 1:23 pm
#10196
Adrian
Keymaster
Currently there is no collision modifier for sourced ADE implemented in the code (which would make this a one-line change).
How we commonly do this is via a custom collision SourcedAdvectionDiffusionBGKdynamics
(see src/dynamics/advectionDiffusionDynamics.h
). So you can either copy this dynamics and adapt to your needs or you can implement a sourced collision modifier that you can combined with the ParameterFromCell
(if so I can help you by giving the first steps).