tFix double gyre experiment with MonTre's help - Granular.jl - Julia package fo… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2379861ee82b96220b667e149c44ed11172f7dc4 | |
parent efcadfc6837c5619b9dca4a617120ef58ed1fae9 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 28 Jun 2018 12:13:27 -0400 | |
Fix double gyre experiment with MonTre's help | |
Diffstat: | |
M examples/double_gyre.jl | 5 ++--- | |
1 file changed, 2 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/examples/double_gyre.jl b/examples/double_gyre.jl | |
t@@ -32,7 +32,7 @@ for i=1:size(sim.ocean.u, 1) | |
end | |
# Initialize confining walls, which are ice floes that are fixed in space | |
-r = minimum(L[1:2]/n[1:2])/2. | |
+r = minimum(L[1:2]./n[1:2])/2. | |
h = 1. | |
## N-S wall segments | |
t@@ -99,5 +99,4 @@ Granular.setTotalTime!(sim, 12.*60.*60.) | |
Granular.setOutputFileInterval!(sim, 60.) | |
Granular.setTimeStep!(sim) | |
-Granular.run!(sim, status_interval=1, | |
- contact_tangential_rheology="Linear Viscous Frictional") | |
+Granular.run!(sim) |