tUse water properties as default fluid - 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 8af65eb27f641cdaeb39010af5ccd8d90c515824
 (DIR) parent a75692d10b150d7cae6f136737326033a8f40d0c
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Mon, 15 Apr 2019 15:29:15 +0200
       
       Use water properties as default fluid
       
       Diffstat:
         M parameter_defaults.h                |       4 ++++
         M simulation.h                        |       6 +++---
       
       2 files changed, 7 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/parameter_defaults.h b/parameter_defaults.h
       t@@ -55,6 +55,10 @@ struct simulation init_sim(void)
            /* fluid settings */
            sim.fluid = 0;
        
       +    sim.beta_f = 4.5e-10; /* Water, Goren et al 2011 */
       +    sim.mu_f = 1e-3;      /* Water, Goren et al 2011 */
       +    sim.rho_f = 1e3;      /* Water */
       +
            return sim;
        }
        
 (DIR) diff --git a/simulation.h b/simulation.h
       t@@ -68,9 +68,9 @@ struct simulation {
            int fluid;            /* flag to switch fluid on (1) or off (0) */
            double p_f_mod_ampl;  /* amplitude of water pressure variations [Pa] */
            double p_f_mod_freq;  /* frequency of water pressure variations [s^-1] */
       -    double beta_f;        /* adiabatic fluid compressibility */
       -    double mu_f;          /* fluid dynamic viscosity */
       -    double rho_f;         /* fluid density */
       +    double beta_f;        /* adiabatic fluid compressibility [Pa^-1] */
       +    double mu_f;          /* fluid dynamic viscosity [Pa*s] */
       +    double rho_f;         /* fluid density [kg/m^3] */
        
            /* arrays */
            double* mu;           /* static yield friction [-] */