We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca4bb22 commit 3eec089Copy full SHA for 3eec089
1 file changed
docs/running-example.md
@@ -0,0 +1,19 @@
1
+# Running a example in NEXT
2
+
3
+To run a example in NEXT, you need to *cd* to an example path
4
+You aswell need a python interpeter
5
+For this, lets try the ColdCollapseGalaxy
6
+```bash
7
+cd examples
8
+cd ColdCollapseGalaxy
9
+python coldcollapse.py
10
+../../next coldcollapse.txt 8 0.25 0.2 vtu
11
+```
12
13
+Explaining the flags:
14
+../../next = Go up 2 directories (into project root) and run executable
15
+coldcollapse.txt = The name of the specified "scenario" / "initial condition"
16
+8 = Set openmp threads to 8, if your cpu has more, you can change it
17
+0.25 = Timestep, how fast the simulation will run
18
+0.2 = Caching interval, how fast NEXT would plot caching
19
+vtu = Caching format, there is aswell vtk
0 commit comments