tincrease standard DEM time step, 100 DEM steps per CFD step - sphere - GPU-bas… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 30c075a8e568072df3ef3831f4176d36f977e472 | |
parent feefefc3bb93324e8b0d2aa41d2abf3879e1f6d6 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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 radi… | |
physical parameters, and the optional fluid grid need to be set prior … | |
diff --git a/tests/fluid_particle_interaction.py b/tests/fluid_particle_interac… | |
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. |