tshear2-cons.py - 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
       ---
       tshear2-cons.py (218B)
       ---
            1 #!/usr/bin/env python
            2 import sphere
            3 
            4 sim = sphere.sim('init2', np=10000)
            5 sim.readlast()
            6 sim.consolidate(20.0e3)
            7 sim.id('cons2-20kPa')
            8 sim.defaultParams()
            9 sim.initTemporal(5.0, epsilon=0.07)
           10 sim.run()
           11 sim.writeVTKall()