tincrease standard DEM time step, 100 DEM steps per CFD step - 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 30c075a8e568072df3ef3831f4176d36f977e472
(DIR) parent feefefc3bb93324e8b0d2aa41d2abf3879e1f6d6
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 24 Jun 2014 16:48:15 +0200
increase standard DEM time step, 100 DEM steps per CFD step
Diffstat:
M python/sphere.py | 2 +-
M tests/fluid_particle_interaction.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -2348,7 +2348,7 @@ class sim:
file_dt = 0.05,
step_count = 0,
dt = -1,
- epsilon = 0.01):
+ epsilon = 0.05):
'''
Set temporal parameters for the simulation. *Important*: Particle radii,
physical parameters, and the optional fluid grid need to be set prior to
(DIR) diff --git a/tests/fluid_particle_interaction.py b/tests/fluid_particle_interaction.py
t@@ -8,6 +8,7 @@ sim.cleanup()
sim.defineWorldBoundaries([1.0, 1.0, 1.0], dx = 0.1)
sim.initFluid()
sim.rho[0] = 1000.0 # particle density = fluid density
+sim.setDEMstepsPerCFDstep(100)
# No gravity, pressure gradient enforced by Dirichlet boundaries.