Skip to content
Snippets Groups Projects
Commit 2de62dcd authored by Christoph Rettinger's avatar Christoph Rettinger
Browse files

Merge branch 'mr_fluctuation_fix' into 'master'

Fix in fluctuation test

See merge request !9
parents a1f1d1fc 122f6e58
Branches main
1 merge request!9Fix in fluctuation test
Pipeline #22081 failed with stage
in 55 seconds
......@@ -78,13 +78,13 @@ class WalberlaLbmpyCodegenTest(unittest.TestCase):
@staticmethod
def test_fluctuating():
with ManualCodeGenerationContext(openmp=True, double_accuracy=True) as ctx:
omega_shear, omega_bulk = sp.symbols("omega, omega_free")
omega_shear = sp.symbols("omega")
force_field, vel_field = ps.fields("force(3), velocity(3): [3D]", layout='fzyx')
# the collision rule of the LB method where the some advanced features
collision_rule = create_lb_collision_rule(
stencil='D3Q19', compressible=True, fluctuating={'seed': 0, 'temperature': 1e-6},
method='mrt3', relaxation_rates=[omega_shear, omega_bulk],
method='mrt', relaxation_rates=[omega_shear]*19,
force_model='guo', force=force_field.center_vector,
optimization={'cse_global': False}
)
......
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