Skip to content

Commit 13882fa

Browse files
committed
addressing PR comments, updating regression
1 parent de4216f commit 13882fa

3 files changed

Lines changed: 7 additions & 13 deletions

File tree

SU2_CFD/src/fluid/CNEMOGas.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,6 @@ void CNEMOGas::ComputedTdU(const su2double *V, su2double *val_dTdU){
260260
val_dTdU[iSpecies] = (-ef + 0.5*v2 + Cvtrs[iSpecies]*(Ref_Temperature[iSpecies]-T)) / rhoCvtr;
261261
}
262262

263-
//if (ionization) {
264-
// SU2_MPI::Error("NEED TO IMPLEMENT dTdU for IONIZED MIX",CURRENT_FUNCTION);
265-
//}
266-
267263
/*--- Momentum derivatives ---*/
268264
for (iDim = 0; iDim < nDim; iDim++)
269265
val_dTdU[nSpecies+iDim] = -V[VEL_INDEX+iDim] / V[RHOCVTR_INDEX];

TestCases/nonequilibrium/thermalbath/finitechemistry/weakly_ionized.cfg

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
% Case description: 2D 5x5 Square Test Case representing a thermal bath %
55
% with thermal nonequilibrium and finite-rate chemistry %
66
% %
7-
% This is only serves as a validation case. %
8-
% %
9-
% %
10-
% Author: W. Maier %
11-
% File Version 7.3.0 "Blackbird" %
7+
% This only serves as a regression case. %
128
% %
139
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1410

@@ -23,7 +19,7 @@ GAS_COMPOSITION=(0.0, 0.767, 0.233, 0.0, 0.0, 0.0, 0.0)
2319
MATH_PROBLEM= DIRECT
2420
READ_BINARY_RESTART= NO
2521

26-
TIME_MARCHING=TIME_STEPPING
22+
TIME_MARCHING=DUAL_TIME_STEPPING-2ND_ORDER
2723
TIME_DOMAIN= YES
2824
TIME_STEP= 0.000000001 % 1.e-09
2925
MAX_TIME= 0.001
@@ -47,7 +43,8 @@ MARKER_SYM= (left,bottom,top,right )
4743
%
4844
NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES
4945
CFL_NUMBER= 1.0
50-
TIME_ITER= 11
46+
TIME_ITER= 3
47+
INNER_ITER= 10
5148

5249
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
5350
%
@@ -58,7 +55,7 @@ LINEAR_SOLVER_ITER= 10
5855

5956
% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
6057
%
61-
CONV_NUM_METHOD_FLOW= AUSM
58+
CONV_NUM_METHOD_FLOW= MSW
6259
MUSCL_FLOW= NO
6360
SLOPE_LIMITER_FLOW= VENKATAKRISHNAN
6461
TIME_DISCRE_FLOW= EULER_EXPLICIT
@@ -90,3 +87,4 @@ SURFACE_FILENAME= surface_flow
9087
SURFACE_ADJ_FILENAME= surface_adjoint
9188
SCREEN_WRT_FREQ_INNER= 10
9289
OUTPUT_WRT_FREQ= 10
90+
SCREEN_OUTPUT= (ITER, RMS_DENSITY_0, RMS_DENSITY_1, RMS_DENSITY_2, RMS_DENSITY_3, RMS_DENSITY_4, RMS_DENSITY_5, RMS_DENSITY_6, LIFT, DRAG)

TestCases/parallel_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main():
5959
ionized.cfg_dir = "nonequilibrium/thermalbath/finitechemistry"
6060
ionized.cfg_file = "weakly_ionized.cfg"
6161
ionized.test_iter = 10
62-
ionized.test_vals = [0.444750, 0.788316, 2.290376, -4.057969, -12.041145, -12.168935, -32.000000, 10.324556]
62+
ionized.test_vals = [ -8.987250, -1.377981, -0.871645, -1.260237, -1.790041, -0.785945, -4.24928, -3.458887, 5.961210, 0.000000, 0.000000]
6363
ionized.su2_exec = "mpirun -n 2 SU2_CFD"
6464
ionized.timeout = 1600
6565
ionized.new_output = True

0 commit comments

Comments
 (0)