cngf-pf

continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
git clone git://src.adamsgaard.dk/cngf-pf # fast
git clone https://src.adamsgaard.dk/cngf-pf.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 91d9022ce33d2deaac4fdcd5449666bed15da45a
parent 2fcce824e39150443ffb4e35a4713395d6d81dc3
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 15 Dec 2022 14:20:38 -0600

simulation.c: fix local inertia number (thanks K. Warburton)

Diffstat:
Msimulation.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/simulation.c b/simulation.c @@ -573,7 +573,7 @@ local_fluidity(const double p, if (mu - C / p <= mu_s) return 0.0; else - return sqrt(p / rho_s * d * d) * ((mu - C / p) - mu_s) / (b * mu); + return sqrt(p / (rho_s * d * d)) * ((mu - C / p) - mu_s) / (b * mu); } static void