tfluid modulation 180 phase shifted - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 086b1f997aad6613543fe2753babbcffdf93d9b4
 (DIR) parent 2ce72e752323c14aa76af200ce92ddf835d2b46b
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue, 27 Jan 2015 09:29:16 +0100
       
       fluid modulation 180 phase shifted
       
       Diffstat:
         M python/halfshear-darcy-stress-mod-… |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/python/halfshear-darcy-stress-mod-starter.py b/python/halfshear-darcy-stress-mod-starter.py
       t@@ -59,7 +59,9 @@ if fluid:
            sim.setMaxIterations(2e5)
            sim.setPermeabilityPrefactor(k_c)
            sim.setFluidCompressibility(1.0/K_w_sim)
       -    sim.setFluidPressureModulation(A=mod_A, f=mod_f)
       +    # the fluid modulation should be 180 degree out of phase with the wall
       +    # modulation
       +    sim.setFluidPressureModulation(A=mod_A, f=mod_f, phi=numpy.pi)
        
        sim.w_sigma0[0] = sigma0
        sim.w_m[0] = numpy.abs(sigma0*sim.L[0]*sim.L[1]/sim.g[2])