tsimulation.c: fix local inertia number (thanks K. Warburton) - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
(HTM) git clone git://src.adamsgaard.dk/cngf-pf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 91d9022ce33d2deaac4fdcd5449666bed15da45a
(DIR) parent 2fcce824e39150443ffb4e35a4713395d6d81dc3
(HTM) 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:
M simulation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/simulation.c b/simulation.c
t@@ -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