Introduction
Introduction Statistics Contact Development Disclaimer Help
tadd script to visualize rs0 output - sphere - GPU-based 3D discrete element me…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 12b740fdb9d84db4a2891264db6f280e4b5ce652
parent 7db6c058c9111762194848a25b82adab486b8047
Author: Anders Damsgaard Christensen <[email protected]>
Date: Thu, 16 Jun 2016 10:43:23 -0700
add script to visualize rs0 output
Diffstat:
A python/visualize-rs0.py | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/python/visualize-rs0.py b/python/visualize-rs0.py
t@@ -0,0 +1,27 @@
+#!/usr/bin/env python
+import sphere
+
+jobname_prefix = 'rs0-'
+
+# Simulation parameter values
+effective_stresses = [10e3, 20e3, 100e3, 200e3, 1000e3, 2000e3]
+velfacs = [0.1, 1.0, 10.0]
+mu_s_vals = [0.5]
+mu_d_vals = [0.5]
+
+# Loop through parameter values
+for effective_stress in effective_stresses:
+ for velfac in velfacs:
+ for mu_s in mu_s_vals:
+ for mu_d in mu_s_vals:
+
+ jobname = jobname_prefix + '{}Pa-v={}-mu_s={}-mu_d={}'.format(
+ effective_stress,
+ velfac,
+ mu_s,
+ mu_d)
+
+ print(jobname)
+ sim = sphere.sim(jobname, fluid=False)
+ #sim.readlast()
+ sim.visualize('shear')
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.