Skip to content
Snippets Groups Projects
Commit 810df634 authored by Markus Holzer's avatar Markus Holzer
Browse files

Merge branch 'LE' into 'LeesEdwards'

Repair test

See merge request !1
parents 9f82e3f5 118612d1
Branches real_t_literal
1 merge request!1Repair test
Pipeline #32081 failed with stages
in 4 hours, 2 minutes, and 29 seconds
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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment