tfluid modulation 180 phase shifted - sphere - GPU-based 3D discrete element me… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 086b1f997aad6613543fe2753babbcffdf93d9b4 | |
parent 2ce72e752323c14aa76af200ce92ddf835d2b46b | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
diff --git a/python/halfshear-darcy-stress-mod-starter.py b/python/halfshear-da… | |
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]) |