Commit 4ec0060c authored by Jan Schäfer's avatar Jan Schäfer
Browse files

tnl-run repair

parent 50e651dc
Loading
Loading
Loading
Loading
+17 −9
Original line number Diff line number Diff line
@@ -2,19 +2,27 @@

tnl-grid-setup --dimensions 1 \
               --origin-x 0.0 \
               --proportions-x 10.0 \
               --size-x 500 \
               --proportions-x 1.0 \
               --size-x 50 \
 
#tnl-init --test-function sin-wave \
#         --output-file init.tnl
tnl-advection-dbg --time-discretisation explicit \
	      --time-step 1.0e-3 \
~/bak/tnl/Debug/bin/tnl-advection-dbg --time-discretisation explicit \
	      --time-step 2.0e-2 \
              --boundary-conditions-constant 0 \
              --discrete-solver merson \
              --snapshot-period 0.1 \
              --final-time 1.0 \
	      --artifical-viscosity 1.0 \
              --discrete-solver euler \
              --snapshot-period 1.0\
              --final-time 2.0 \
	      --artifical-viscosity 0.5 \
	      --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-diff --mesh mesh.tnl \
         --input-files a-*.tnl u-*.tnl \
         --mode halves \
+0 −24
Original line number Diff line number Diff line
#!/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     
+0 −25
Original line number Diff line number Diff line
#!/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     
+10 −10
Original line number Diff line number Diff line
@@ -8,18 +8,18 @@ tnl-grid-setup --dimensions 1 \
#tnl-init --test-function sin-wave \
#         --output-file init.tnl
tnl-euler-1d-dbg --time-discretisation explicit \
	      --time-step 1.0e-3 \
              --boundary-conditions-type mymixed \
	      --time-step 2.5e-3 \
              --boundary-conditions-type myneumann \
              --discrete-solver euler \
              --snapshot-period 0.1 \
              --final-time 1.0 \
              --snapshot-period 0.015 \
              --final-time 0.15 \
              --left-density 1.0 \
              --left-velocity 0.75 \
              --left-pressure 1.0 \
              --right-density 0.125 \
              --right-velocity 0 \
              --right-pressure 0.1 \
              --left-velocity -2.0 \
              --left-pressure 0.4 \
              --right-density 1.0 \
              --right-velocity 2.0 \
              --right-pressure 0.4 \
              --gamma 1.4 \
              --riemann-border 0.3 \
              --riemann-border 0.5 \

tnl-view --mesh mesh.tnl --input-files *tnl     
+0 −19
Original line number Diff line number Diff line
#!/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     
Loading