tincrease simulation length to 10 s - Granular.jl - Julia package for granular … | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f43f81ae332b0ab5b46bad05ab8affda2997f878 | |
parent 39fa2f05d08dbf20c3138a1665436a268bc86780 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 8 Nov 2017 12:04:32 -0500 | |
increase simulation length to 10 s | |
Diffstat: | |
M docs/src/man/getting_started.md | 14 +++++++------- | |
M examples/sedimentation.jl | 2 +- | |
2 files changed, 8 insertions(+), 8 deletions(-) | |
--- | |
diff --git a/docs/src/man/getting_started.md b/docs/src/man/getting_started.md | |
t@@ -358,7 +358,7 @@ We also again set the total simulation time as well as the… | |
interval: | |
```julia-repl | |
-julia> Granular.setTotalTime!(sim, 5.0) | |
+julia> Granular.setTotalTime!(sim, 10.0) | |
julia> Granular.setOutputFileInterval!(sim, 0.2) | |
``` | |
t@@ -370,21 +370,21 @@ julia> Granular.run!(sim) | |
INFO: Output file: ./sedimentation/sedimentation.grains.1.vtu | |
INFO: Output file: ./sedimentation/sedimentation.ocean.1.vts | |
INFO: wrote status to ./sedimentation/sedimentation.status.txt | |
- t = 0.19884968859273294/5.0 s | |
+ t = 0.19884968859273294/10.0 s | |
INFO: Output file: ./sedimentation/sedimentation.grains.2.vtu | |
INFO: Output file: ./sedimentation/sedimentation.ocean.2.vts | |
INFO: wrote status to ./sedimentation/sedimentation.status.txt | |
- t = 0.3993989471735396/5.0 s | |
+ t = 0.3993989471735396/10.0 s | |
... | |
-INFO: Output file: ./sedimentation/sedimentation.grains.25.vtu | |
-INFO: Output file: ./sedimentation/sedimentation.ocean.25.vts | |
+INFO: Output file: ./sedimentation/sedimentation.grains.50.vtu | |
+INFO: Output file: ./sedimentation/sedimentation.ocean.50.vts | |
INFO: wrote status to ./sedimentation/sedimentation.status.txt | |
- t = 4.998435334626701/5.0 s | |
+ t = 9.998435334626701/10.0 s | |
INFO: ./sedimentation/sedimentation.py written, execute with 'pvpython /Users/… | |
INFO: wrote status to ./sedimentation/sedimentation.status.txt | |
- t = 5.00001593471549/5.0 s | |
+ t = 10.00001593471549/10.0 s | |
``` | |
The output can be plotted in ParaView as discribed in the `two-grain` example | |
diff --git a/examples/sedimentation.jl b/examples/sedimentation.jl | |
t@@ -29,7 +29,7 @@ end | |
Granular.setTimeStep!(sim) | |
# Set the total simulation time for this step [s] | |
-Granular.setTotalTime!(sim, 5.0) | |
+Granular.setTotalTime!(sim, 10.0) | |
# Set the interval in model time between simulation files [s] | |
Granular.setOutputFileInterval!(sim, 0.2) |