Introduction
Introduction Statistics Contact Development Disclaimer Help
tchange simulation id depending on resolution - Granular.jl - Julia package for…
git clone git://src.adamsgaard.dk/Granular.jl
Log
Files
Refs
README
LICENSE
---
commit b3a11d3fab0cc139a56290b080d1b68917566ee8
parent 23fc4a029c9f5c4a8b4781eb1404f4049fda3add
Author: Anders Damsgaard <[email protected]>
Date: Mon, 8 May 2017 22:53:29 -0400
change simulation id depending on resolution
Diffstat:
M examples/nares_strait.jl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/examples/nares_strait.jl b/examples/nares_strait.jl
t@@ -2,16 +2,16 @@
import SeaIce
sim = SeaIce.createSimulation(id="nares_strait")
+n = [25, 25, 2]
+
+#sim = SeaIce.createSimulation(id="nares_strait_coarse")
+#n = [6, 6, 2]
# Initialize ocean
Lx = 50.e3
Lx_constriction = 10e3
L = [Lx, Lx*1.5, 1e3]
Ly_constriction = 20e3
-#n = [100, 100, 2] # high resolution
-#n = [50, 50, 2] # intermedite resolution
-n = [25, 25, 2]
-#n = [6, 6, 2] # coarse resolution
sim.ocean = SeaIce.createRegularOceanGrid(n, L, name="poiseuille_flow")
sim.ocean.v[:, :, 1, 1] = 1e-8*((sim.ocean.xq - Lx/2.).^2 - Lx^2./4.)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.