From 1b262422621426bf04e76e1225980e68e57c94d5 Mon Sep 17 00:00:00 2001 From: schottenhamml <helen.schottenhamml@fau.de> Date: Thu, 6 Feb 2025 09:43:03 +0100 Subject: [PATCH 1/2] Fix logarithm in Musker's law. --- src/lbmpy/boundaries/wall_function_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lbmpy/boundaries/wall_function_models.py b/src/lbmpy/boundaries/wall_function_models.py index 4f627787..e1962673 100644 --- a/src/lbmpy/boundaries/wall_function_models.py +++ b/src/lbmpy/boundaries/wall_function_models.py @@ -157,7 +157,7 @@ class MuskerLaw(ImplicitWallFunctionModel): def law(u_p, y_p): arctan = sp.Float(5.424) * sp.atan(sp.Float(0.119760479041916168) * y_p - sp.Float(0.488023952095808383)) logarithm = (sp.Float(0.434) * sp.log((y_p + sp.Float(10.6)) ** sp.Float(9.6) - / (y_p ** 2 - sp.Float(8.15) * y_p + sp.Float(86)) ** 2, 10)) + / (y_p ** 2 - sp.Float(8.15) * y_p + sp.Float(86)) ** 2)) return (arctan + logarithm - sp.Float(3.50727901936264842)) - u_p u_plus = velocity_symbol / self.u_tau[0] -- GitLab From 9dae4e05e62b73f9433ee4e40aced2e60c7d2692 Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Mon, 10 Feb 2025 08:57:01 +0100 Subject: [PATCH 2/2] fix pycodegen:full container to use cupy 12.3 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 675afb75..7c1c17a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ stages: tests-and-coverage: stage: pretest extends: .every-commit - image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full + image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full:cupy12.3 script: # - pip install sympy --upgrade - export NUM_CORES=$(nproc --all) -- GitLab