Skip to content
Snippets Groups Projects
Commit 4ec0060c authored by Jan Schäfer's avatar Jan Schäfer
Browse files

tnl-run repair

parent 50e651dc
No related branches found
No related tags found
No related merge requests found
...@@ -2,19 +2,27 @@ ...@@ -2,19 +2,27 @@
tnl-grid-setup --dimensions 1 \ tnl-grid-setup --dimensions 1 \
--origin-x 0.0 \ --origin-x 0.0 \
--proportions-x 10.0 \ --proportions-x 1.0 \
--size-x 500 \ --size-x 50 \
#tnl-init --test-function sin-wave \ #tnl-init --test-function sin-wave \
# --output-file init.tnl # --output-file init.tnl
tnl-advection-dbg --time-discretisation explicit \ ~/bak/tnl/Debug/bin/tnl-advection-dbg --time-discretisation explicit \
--time-step 1.0e-3 \ --time-step 2.0e-2 \
--boundary-conditions-constant 0 \ --boundary-conditions-constant 0 \
--discrete-solver merson \ --discrete-solver euler \
--snapshot-period 0.1 \ --snapshot-period 1.0\
--final-time 1.0 \ --final-time 2.0 \
--artifical-viscosity 1.0 \ --artifical-viscosity 0.5 \
--begin exp \ --begin exp \
--advection-speedX 2.0 \ --move advection \
--advection-speedX 0.2 \
--dimension 1 \
--realSize 1.0
tnl-view --mesh mesh.tnl --input-files *tnl tnl-view --mesh mesh.tnl --input-files *tnl
tnl-diff --mesh mesh.tnl \
--input-files a-*.tnl u-*.tnl \
--mode halves \
#!/usr/bin/env bash
tnl-grid-setup --dimensions 2 \
--origin-x 0.0 \
--origin-y 0.0 \
--proportions-x 10.0 \
--proportions-y 10.0 \
--size-x 500 \
--size-y 500 \
#tnl-init --test-function sin-wave \
# --output-file init.tnl
./advection --time-discretisation explicit \
--time-step 1.0e-3 \
--boundary-conditions-constant 0 \
--discrete-solver euler \
--snapshot-period 0.1 \
--final-time 1.0 \
--artifical-viscosity 0.2 \
--begin exp_square \
--advection-speedX 2.0 \
--advection-speedY 2.0 \
tnl-view --mesh mesh.tnl --input-files *tnl
#!/usr/bin/env bash
tnl-grid-setup --dimensions 2 \
--origin-x 0.0 \
--origin-y 0.0 \
--proportions-x 10.0 \
--proportions-y 10.0 \
--size-x 100 \
--size-y 100 \
#tnl-init --test-function sin-wave \
# --output-file init.tnl
./advection --time-discretisation explicit \
--time-step 1.0e-2 \
--boundary-conditions-constant 0 \
--discrete-solver euler \
--snapshot-period 0.1 \
--final-time 1.0 \
--artifical-viscosity 5.0 \
--begin exp_square \
--advection-speedX 2.0 \
--advection-speedY 2.0 \
--move rotation \
tnl-view --mesh mesh.tnl --input-files *tnl
...@@ -8,18 +8,18 @@ tnl-grid-setup --dimensions 1 \ ...@@ -8,18 +8,18 @@ tnl-grid-setup --dimensions 1 \
#tnl-init --test-function sin-wave \ #tnl-init --test-function sin-wave \
# --output-file init.tnl # --output-file init.tnl
tnl-euler-1d-dbg --time-discretisation explicit \ tnl-euler-1d-dbg --time-discretisation explicit \
--time-step 1.0e-3 \ --time-step 2.5e-3 \
--boundary-conditions-type mymixed \ --boundary-conditions-type myneumann \
--discrete-solver euler \ --discrete-solver euler \
--snapshot-period 0.1 \ --snapshot-period 0.015 \
--final-time 1.0 \ --final-time 0.15 \
--left-density 1.0 \ --left-density 1.0 \
--left-velocity 0.75 \ --left-velocity -2.0 \
--left-pressure 1.0 \ --left-pressure 0.4 \
--right-density 0.125 \ --right-density 1.0 \
--right-velocity 0 \ --right-velocity 2.0 \
--right-pressure 0.1 \ --right-pressure 0.4 \
--gamma 1.4 \ --gamma 1.4 \
--riemann-border 0.3 \ --riemann-border 0.5 \
tnl-view --mesh mesh.tnl --input-files *tnl tnl-view --mesh mesh.tnl --input-files *tnl
#!/usr/bin/env bash
tnl-grid-setup --dimensions 2 \
--origin-x 0.0 \
--origin-y 0.0 \
--proportions-x 1.0 \
--proportions-y 1.0 \
--size-x 100 \
--size-y 100
tnl-init --test-function sin-wave \
--output-file init.tnl
./euler --time-discretisation explicit \
--boundary-conditions-constant 0 \
--discrete-solver merson \
--snapshot-period 0.01 \
--final-time 1.0
tnl-view --mesh mesh.tnl --input-files *tnl
...@@ -5,8 +5,8 @@ tnl-grid-setup --dimensions 2 \ ...@@ -5,8 +5,8 @@ tnl-grid-setup --dimensions 2 \
--origin-y 0.0 \ --origin-y 0.0 \
--proportions-x 1.0 \ --proportions-x 1.0 \
--proportions-y 1.0 \ --proportions-y 1.0 \
--size-x 100 \ --size-x 400 \
--size-y 100 --size-y 400
#tnl-init --test-function sin-wave \ #tnl-init --test-function sin-wave \
# --output-file init.tnl # --output-file init.tnl
...@@ -14,20 +14,28 @@ tnl-grid-setup --dimensions 2 \ ...@@ -14,20 +14,28 @@ tnl-grid-setup --dimensions 2 \
# --boundary-conditions-constant 0 \ # --boundary-conditions-constant 0 \
tnl-euler-2d-dbg --time-discretisation explicit \ tnl-euler-2d-dbg --time-discretisation explicit \
--time-step 1.0e-3 \ --time-step 5.0e-4 \
--boundary-conditions-type mymixed \ --boundary-conditions-type myneumann \
--discrete-solver euler \ --discrete-solver euler \
--snapshot-period 0.1 \ --snapshot-period 0.03 \
--final-time 1.0 \ --final-time 0.3 \
--left-density 1.0 \ --NW-density 0.5323 \
--left-velocityX 0.75 \ --NW-velocityX 1.206 \
--left-velocityY 0.75 \ --NW-velocityY 0.0 \
--left-pressure 1.0 \ --NW-pressure 0.3 \
--right-density 0.125 \ --NE-density 1.5 \
--right-velocityX 0 \ --NE-velocityX 0.0 \
--right-velocityY 0 \ --NE-velocityY 0.0 \
--right-pressure 0.1 \ --NE-pressure 1.5 \
--SW-density 0.138 \
--SW-velocityX 1.206 \
--SW-velocityY 1.206 \
--SW-pressure 0.029 \
--SE-density 0.5323 \
--SE-velocityX 0 \
--SE-velocityY 1.206 \
--SE-pressure 0.3 \
--gamma 1.4 \ --gamma 1.4 \
--riemann-border 0.3 \ --riemann-border 0.5 \
tnl-view --mesh mesh.tnl --input-files *tnl tnl-view --mesh mesh.tnl --input-files *tnl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment