Skip to content

Commit 71ad375

Browse files
Added restart file for tutorials regression
1 parent 100bc5b commit 71ad375

File tree

5 files changed

+171194
-364232
lines changed

5 files changed

+171194
-364232
lines changed

incompressible_flow/Inc_Combustion/1__premixed_hydrogen/H2_burner.cfg

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ FLUID_MODEL= FLUID_FLAMELET
3333

3434
% List the MLP files describing the respective architectures.
3535
INTERPOLATION_METHOD= MLP
36-
FILENAMES_INTERPOLATOR= (MLP_TD1_n.mlp, MLP_TD2.mlp, MLP_PD.mlp, MLP_SPV.mlp, MLP_PNO.mlp, MLP_null.mlp)
36+
FILENAMES_INTERPOLATOR= (MLP_TD1.mlp, MLP_TD2.mlp, MLP_PD.mlp, MLP_SPV.mlp, MLP_PNO.mlp, MLP_null.mlp)
3737

3838
% FGM controlling variable names (must include mixture fraction for partial
3939
% premixed cases)
@@ -61,7 +61,7 @@ SPARK_REACTION_RATES=(1000, 0, 0)
6161

6262
CONV_NUM_METHOD_SPECIES= BOUNDED_SCALAR
6363

64-
MUSCL_SPECIES= NO
64+
MUSCL_SPECIES= YES
6565
SLOPE_LIMITER_SPECIES= NONE
6666
TIME_DISCRE_SPECIES= EULER_IMPLICIT
6767
% SCALAR CLIPPING
@@ -71,14 +71,14 @@ SPECIES_CLIPPING_MAX= +4.6642374992370605e-01 +2.1569957500000000e+06 +1.4977467
7171
%
7272
% Inlet and initial condition corresponding to mixture at T=300K, eq ratio 0.5
7373
SPECIES_INIT=(-0.575, 2.227e3, 1.447e-2, 0)
74-
MARKER_INLET_SPECIES = (inlet, -0.575, 2.227e3, 1.447e-29, 0)
74+
MARKER_INLET_SPECIES = (inlet, -0.575, 2.227e3, 1.447e-2, 0)
7575

7676
INC_INLET_TYPE= VELOCITY_INLET
7777
MARKER_INLET=(inlet, 300.0, 0.575,1,0,0)
7878
CFL_REDUCTION_SPECIES= 1.0
7979

8080
MARKER_ISOTHERMAL=(burner_wall, 350, \
81-
cylinder_wall, 350)
81+
cylinder_wall, 400)
8282
MARKER_SPECIES_STRONG_BC=(burner_wall,cylinder_wall)
8383
MARKER_INTERNAL=(fluid)
8484
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
@@ -92,19 +92,18 @@ REF_AREA= 1.0
9292
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
9393
%
9494

95-
%__ADJOINT__MARKER_SYM= (sides, mixing_edge)
9695
MARKER_SYM= (sides)
9796
INC_OUTLET_TYPE= PRESSURE_OUTLET
9897
INC_INLET_DAMPING = 0.05
9998
INC_OUTLET_DAMPING = 0.05
10099
MARKER_OUTLET= (outlet, 0.0)
101-
% MARKER_SPECIES_STRONG_BC = (CHT_INTERFACE_FLUID_VENTURI, CHT_INTERFACE_FLUID_BURNER)
100+
102101
% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
103102
%
104103
NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES
105104
CFL_NUMBER= 150
106105
CFL_ADAPT= NO
107-
ITER= 3000
106+
ITER= 5
108107
%
109108
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
110109
%
@@ -132,19 +131,14 @@ CONV_CAUCHY_ELEMS= 100
132131
CONV_CAUCHY_EPS= 1E-6
133132
SCREEN_OUTPUT = INNER_ITER RMS_VELOCITY-X RMS_PRESSURE RMS_ProgressVariable RMS_EnthalpyTot RMS_MixtureFraction
134133
HISTORY_OUTPUT = RMS_RES
135-
VOLUME_OUTPUT = SOLUTION RESIDUAL SENSITIVITY LOOKUP TIMESTEP PRIMITIVE SOURCE
134+
VOLUME_OUTPUT = SOLUTION
136135
CONV_FIELD = RMS_PRESSURE, RMS_VELOCITY-Z, RMS_VELOCITY-Y, RMS_MixtureFraction
137136
WRT_ZONE_HIST= YES
138137
%
139138
% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
140139
%
141-
RESTART_SOL=NO
140+
RESTART_SOL=YES
142141
OUTPUT_PRECISION= 16
143142
TABULAR_FORMAT = CSV
144143
MESH_FILENAME=H2_burner.su2
145-
OUTPUT_FILES=(RESTART_ASCII, PARAVIEW_MULTIBLOCK)
146-
WRT_PERFORMANCE = NO
147-
READ_BINARY_RESTART=NO
148-
SCREEN_WRT_FREQ_INNER = 1
149-
SCREEN_WRT_FREQ_OUTER = 1
150-
OUTPUT_WRT_FREQ=20
144+
OUTPUT_FILES=(RESTART, PARAVIEW_MULTIBLOCK)

incompressible_flow/Inc_Combustion/1__premixed_hydrogen/H2_burner.geo

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,34 +49,49 @@ Curve Loop(1) = {1, 9, -10, 8, -7, -6, -5, -4, -3, -2};
4949
//+
5050
Plane Surface(1) = {1};
5151
//+
52-
Physical Curve("inlet", 11) = {1};
52+
//Physical Curve("inlet", 11) = {1};
5353
//+
54-
Physical Curve("outlet", 12) = {7};
54+
//Physical Curve("outlet", 12) = {7};
5555
//+
56-
Physical Curve("burner_wall", 13) = {3, 4, 5};
56+
//Physical Curve("burner_wall", 13) = {3, 4, 5};
5757
//+
58-
Physical Curve("cylinder_wall", 14) = {10};
58+
//Physical Curve("cylinder_wall", 14) = {10};
5959
//+
60-
Physical Curve("sides", 15) = {2, 9, 6, 8};
60+
//Physical Curve("sides", 15) = {2, 9, 6, 8};
6161
//+
62-
Physical Surface("fluid", 16) = {1};
62+
//Physical Surface("fluid", 16) = {1};
6363
//+
64-
Transfinite Curve {1, 7} = 40 Using Progression 1;
64+
Transfinite Curve {1, 7} = 30 Using Progression 1;
6565
//+
66-
Transfinite Curve {3, 5} = 40 Using Progression 1;
66+
Transfinite Curve {3, 5} = 30 Using Progression 1;
6767
//+
68-
Transfinite Curve {4} = 100 Using Progression 1;
68+
Transfinite Curve {4} = 80 Using Progression 1;
6969
//+
70-
Transfinite Curve {2} = 150 Using Progression 1;
70+
Transfinite Curve {2} = 100 Using Progression 1;
7171
//+
72-
Transfinite Curve {6} = 400 Using Progression 1;
72+
Transfinite Curve {6} = 300 Using Progression 1;
7373
//+
74-
Transfinite Curve {8} = 270 Using Progression 1;
74+
Transfinite Curve {8} = 200 Using Progression 1;
7575
//+
76-
Transfinite Curve {9} = 470 Using Progression 1;
76+
Transfinite Curve {9} = 350 Using Progression 1;
7777
//+
78-
Transfinite Curve {10} = 150 Using Progression 1;
78+
Transfinite Curve {10} = 100 Using Progression 1;
7979

80-
Mesh 2;
80+
//Mesh 2;
8181

82-
Save "H2_burner.su2";
82+
//Save "H2_burner.su2";//+
83+
Extrude {{1, 0, 0}, {0, -0.001, 0}, Pi/8} {
84+
Surface{1}; Layers{10}; Recombine;
85+
}
86+
//+
87+
Physical Surface("inlet", 63) = {25};
88+
//+
89+
Physical Surface("outlet", 64) = {41};
90+
//+
91+
Physical Surface("sides", 65) = {62, 29, 61, 1, 45, 37};
92+
//+
93+
Physical Surface("burner_wall", 66) = {57, 53, 49};
94+
//+
95+
Physical Surface("cylinder_wall", 67) = {33};
96+
//+
97+
Physical Volume("fluid", 68) = {1};

0 commit comments

Comments
 (0)