From c9860c99d8b6d0d4478497b18d251e7ff8083ad8 Mon Sep 17 00:00:00 2001 From: Samuel Melchior <samuel.melchior@uclouvain.be> Date: Tue, 15 Dec 2009 10:08:24 +0000 Subject: [PATCH] geo 1D --- Solver/TESTCASES/Advection1D.lua | 4 ++-- Solver/TESTCASES/edge.geo | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 Solver/TESTCASES/edge.geo diff --git a/Solver/TESTCASES/Advection1D.lua b/Solver/TESTCASES/Advection1D.lua index c85e108ecd..f472e9d558 100644 --- a/Solver/TESTCASES/Advection1D.lua +++ b/Solver/TESTCASES/Advection1D.lua @@ -44,8 +44,8 @@ dg:exportSolution('output/Adv1D_00000') -- main loop n = 5 -for i=1,100*n do - norm = dg:RK44(0.03) +for i=1,50*n do + norm = dg:RK44(0.0325) if (i % n == 0) then print('iter',i,norm) dg:exportSolution(string.format("output/Adv1D-%05d", i)) diff --git a/Solver/TESTCASES/edge.geo b/Solver/TESTCASES/edge.geo new file mode 100644 index 0000000000..67fd0dd760 --- /dev/null +++ b/Solver/TESTCASES/edge.geo @@ -0,0 +1,6 @@ +Point(1) = {-1, 0, 0, 0.01}; +Point(2) = {1, 0, 0, 0.01}; +Line(1) = {1, 2}; +Physical Point("Left") = {1}; +Physical Point("Right") = {2}; +Physical Line("Line") = {1}; -- GitLab