Fix: momentum density calculation
Fixes the momentum density calculation for compressible methods with force model. Before the macroscopic velocity shift was used, now we introduce the macroscopic momentum density shift to avoid dividing by the density twice in the force correction step.
Solves issue #14 (closed).
Merge request reports
Activity
Markus, the branch only became visible after someone made me "developer" yesterday. BTW: It solves the issue in walberla/walberla!355 (merged).
Edited by Michael Kuron@schottenhamml, could you please provide tests? @RudolfWeeber just told me that this merge request is precisely what he needs, so I would like to see it merged soon.
assigned to @schottenhamml and unassigned @holzer
assigned to @holzer and unassigned @schottenhamml
added 54 commits
-
46a4f761...7df9ca58 - 53 commits from branch
master
- 85c96fd1 - Merge branch 'master' of i10git.cs.fau.de:pycodegen/lbmpy into...
-
46a4f761...7df9ca58 - 53 commits from branch
- Resolved by Michael Kuron
- Resolved by Michael Kuron
enabled an automatic merge when the pipeline for 6671ab51 succeeds
mentioned in commit 2525e615