Skip to content

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