Commit 5db67d32 authored by Jonas Kusch's avatar Jonas Kusch
Browse files

added 1D mesh to code

parent 900e007f
Pipeline #107968 failed with stages
in 27 minutes and 35 seconds
// settings Kersting
lc = 0.005;
width = 1.0;
length = 10.0;
start = -2.5;
//+
Point(1) = {start, width, 0, lc};
//+
Point(2) = {start+length, width, 0, lc};
//+
Point(3) = {start, 0, 0, lc};
//+
Point(4) = {start+length, 0, 0, lc};
//+
Line(1) = {1, 2};
//+
Line(2) = {2, 4};
//+
Line(3) = {4, 3};
//+
Line(4) = {3, 1};
//+
Curve Loop(1) = {4, 1, 2, 3};
//+
Plane Surface(1) = {1};
//+
Physical Curve("dirichlet") = {4, 2};
//+
Physical Curve("wall_low") = {1};
Physical Curve("wall_up") = {3};
//+
Transfinite Surface {1} = {1, 2, 4, 3};
//+
Transfinite Curve {4, 2} = 1 Using Progression 1;
//+
Transfinite Curve {1, 3} = 1000 Using Progression 1;
//+
Recombine Surface {1};
This diff is collapsed.
OUTPUT_DIR = ../result
OUTPUT_FILE = example_csd_1d
LOG_DIR = ../result/logs
MESH_FILE = 1DMesh.su2
PROBLEM = WATERPHANTOM
SOLVER = CSD_SN_SOLVER
CONTINUOUS_SLOWING_DOWN = YES
HYDROGEN_FILE = ENDL_H.txt
OXYGEN_FILE = ENDL_O.txt
KERNEL = ISOTROPIC_1D
CFL_NUMBER = 0.001
TIME_FINAL = 1.0
CLEAN_FLUX_MATRICES = NO
BC_DIRICHLET = ( dirichlet )
BC_NEUMANN = ( wall_low, wall_up )
QUAD_TYPE = GAUSS_LEGENDRE_1D
QUAD_ORDER = 101
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