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

Small change

parent 5c6e36b3
No related branches found
No related tags found
No related merge requests found
Pipeline #35133 passed
...@@ -290,14 +290,13 @@ def test_modes_central_moment(force_model, compressible): ...@@ -290,14 +290,13 @@ def test_modes_central_moment(force_model, compressible):
@pytest.mark.parametrize("compressible", [True, False]) @pytest.mark.parametrize("compressible", [True, False])
@pytest.mark.longrun @pytest.mark.longrun
def test_modes_central_moment_longrun(stencil, force_model, compressible): def test_modes_central_moment_longrun(stencil, force_model, compressible):
"""check force terms in mode space"""
"""check force terms in mode space""" """check force terms in mode space"""
stencil = LBStencil(stencil) stencil = LBStencil(stencil)
omega_s = sp.Symbol("omega_s") omega_s = sp.Symbol("omega_s")
F = list(sp.symbols(f"F_:{stencil.D}")) F = list(sp.symbols(f"F_:{stencil.D}"))
lbm_config = LBMConfig(method=Method.CENTRAL_MOMENT, stencil=stencil, relaxation_rate=omega_s, lbm_config = LBMConfig(method=Method.CENTRAL_MOMENT, stencil=stencil, relaxation_rate=omega_s,
compressible=True, force_model=ForceModel.GUO, force=tuple(F)) compressible=compressible, force_model=force_model, force=tuple(F))
method = create_lb_method(lbm_config=lbm_config) method = create_lb_method(lbm_config=lbm_config)
subs_dict = method.subs_dict_relxation_rate subs_dict = method.subs_dict_relxation_rate
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment