Please sign in to comment.
Fix LBGPU velocity interpolation close to boundary (#3593)
Fixes # Description of changes: LB GPu velocity interpolation used incorrect velocities at boundary nodes. This lead to incorrect resutls for interpolations closer than one lattice constant to the boundary. This adds a missing unit conversion 1/lattice_speed for boundary nodes, which fixes the issue. Tests for interpolation at the boundary position and at the mid-point between the boundary and the next lattice site. This should go into 4.1.3
- Loading branch information
Showing with 35 additions and 9 deletions.