Skip to content
Snippets Groups Projects
Commit 118612d1 authored by Sebastian Bindgen's avatar Sebastian Bindgen
Browse files

Repair test

parent 9f82e3f5
No related branches found
No related tags found
No related merge requests found
Pipeline #31986 failed
Parameters Parameters
{ {
timesteps 501; timesteps 100000;
vtkWriteFrequency 500; vtkWriteFrequency 500;
remainingTimeLoggerFrequency 3; // in seconds remainingTimeLoggerFrequency 3; // in seconds
} }
......
...@@ -16,7 +16,7 @@ from lbmpy_walberla import RefinementScaling, generate_boundary, generate_lb_pac ...@@ -16,7 +16,7 @@ from lbmpy_walberla import RefinementScaling, generate_boundary, generate_lb_pac
import sympy as sp import sympy as sp
omega = 1.0 # relaxation rate of first component omega = 1.0 # relaxation rate of first component
shear_velocity = 0.1 # shear velocity shear_velocity = 0.5 # shear velocity
shear_dir = 0 # direction of shear flow shear_dir = 0 # direction of shear flow
shear_dir_normal = 1 # direction normal to shear plane, for interpolation shear_dir_normal = 1 # direction normal to shear plane, for interpolation
...@@ -33,8 +33,8 @@ counters = [LoopOverCoordinate.get_loop_counter_symbol(i) for i in range(dim)] ...@@ -33,8 +33,8 @@ counters = [LoopOverCoordinate.get_loop_counter_symbol(i) for i in range(dim)]
points_up = sp.Symbol('points_up') points_up = sp.Symbol('points_up')
points_down = sp.Symbol('points_down') points_down = sp.Symbol('points_down')
u_p = sp.Piecewise((1, sp.And(type_all_numbers(counters[1] <= 1, 'int'), points_down)), u_p = sp.Piecewise((1, sp.And(type_all_numbers(counters[1] <= 0, 'int'), points_down)),
(-1, sp.And(type_all_numbers(counters[1] >= 66 - 2, 'int'), points_up)), (-1, sp.And(type_all_numbers(counters[1] >= 63 , 'int'), points_up)),
(0, True)) * shear_velocity (0, True)) * shear_velocity
collision = create_lb_update_rule(stencil=stencil, collision = create_lb_update_rule(stencil=stencil,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment