Commit ba819485 authored by Paola Bacigaluppi's avatar Paola Bacigaluppi
Browse files

Updated the Readme, The test 1D Sod problem with some files (run_tests) to run...

Updated the Readme, The test 1D Sod problem with some files (run_tests) to run the test on diverse mesh sizes by doing e.g ./run_tests Sod B1 from the B1 folder, and a python script to plot B1,B2,B3 on the diverse meshes and for different variables
parent f9d52e4d
2 Itype 1: P1, 2: B2, 3: P2, 4:P3, 5: B3
2 3 ordre 3: # of iteration for DEC
5 scheme: 3= galerkin,7=supg, -1=lxf, 4 galerkin+jump, 5 psi+jump 6:psi+stream
1.0 theta parameter in Burman stabilization term
0.0 theta parameter in Burman stabilization term
0.1 cfl
10000 ktmax
1 tmax
10 1 ifre
.false. dec=true, tempus=false
.false. true= with restat, fals: from scratch
3 limit 0=psi, 1=psi_kpp, 2=psi_kpp_char
13 cas test: DMR
.false. correction
.false. true. Mood
2
5
-1
// square
lc = 0.1; // Mesh parameter
// Points
p1 = newp;
Point(p1) = {-0.5, 0.0, 0.0, lc};
p2 = newp;
Point(p2) = {0.5, 0.0, 0.0, lc};
p3 = newp;
Point(p3) = {0.5, 0.2, 0.0, lc};
p4=newp;
Point(p4)={-0.5,0.2,0,0, lc};
// lines
c1 = newreg;
Line(c1) = {p1, p2};
c2 = newreg;
Line(c2) = {p2, p3};
c3 = newreg;
Line(c3) = {p3, p4};
c4=newreg;
Line(c4)={p4,p1};
// Line loop
ll1 = newreg;
Line Loop(ll1) = {c1,c2,c3,c4};
// Plane surfaces
surf1 = news;
Plane Surface(surf1) = {ll1};
// Set boundary tags
Physical Line("steger") = {c4,c2}; // inflow
Physical Line("Wall") = {c1,c3}; // wall
Physical Surface(0) = {surf1};
n1=100;
n2=20;
// Make one square structured.
Transfinite Line {c1,-c3}=n1 Using Progression 1;
Transfinite Line {-c4,c2}=n2 Using Progression 1;
Transfinite Surface {surf1}={p1,p2,p3,p4};
Recombine Surface {surf1};
Mesh.MshFileVersion =2;
// square
lc = 0.1; // Mesh parameter
// Points
p1 = newp;
Point(p1) = {-0.5, 0.0, 0.0, lc};
p2 = newp;
Point(p2) = {0.5, 0.0, 0.0, lc};
p3 = newp;
Point(p3) = {0.5, 0.2, 0.0, lc};
p4=newp;
Point(p4)={-0.5,0.2,0,0, lc};
// lines
c1 = newreg;
Line(c1) = {p1, p2};
c2 = newreg;
Line(c2) = {p2, p3};
c3 = newreg;
Line(c3) = {p3, p4};
c4=newreg;
Line(c4)={p4,p1};
// Line loop
ll1 = newreg;
Line Loop(ll1) = {c1,c2,c3,c4};
// Plane surfaces
surf1 = news;
Plane Surface(surf1) = {ll1};
// Set boundary tags
Physical Line("steger") = {c4,c2}; // inflow
Physical Line("Wall") = {c1,c3}; // wall
Physical Surface(0) = {surf1};
n1=100;
n2=20;
// Make one square structured.
Transfinite Line {c1,c3}=n1 Using Progression 1;
Transfinite Line {c4,c2}=n2 Using Progression 1;
Transfinite Surface {surf1}={1,2,3,4};
//Recombine Surface {surf1};
Mesh.MshFileVersion =2;
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment