Skip to content

Commit 654ba3d

Browse files
committed
A couple of minor fixes.
1 parent 7afb738 commit 654ba3d

2 files changed

Lines changed: 3 additions & 24 deletions

File tree

Common/src/config_structure.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3125,27 +3125,6 @@ void CConfig::SetPostprocessing(unsigned short val_software, unsigned short val_
31253125

31263126
if ((ContinuousAdjoint && !MG_AdjointFlow) ||
31273127
(TimeMarching == TIME_STEPPING)) { nMGLevels = 0; }
3128-
3129-
/*--- If Fluid Structure Interaction, set the solver for each zone.
3130-
*--- ZONE_0 is the zone of the fluid.
3131-
*--- All the other zones are structure.
3132-
*--- This will allow us to define multiple physics structural problems */
3133-
3134-
// if (Kind_Solver == FLUID_STRUCTURE_INTERACTION) {
3135-
// if (val_izone == 0) {Kind_Solver = Kind_Solver_Fluid_FSI; FSI_Problem = true;}
3136-
3137-
// else {Kind_Solver = Kind_Solver_Struc_FSI; FSI_Problem = true;
3138-
// Kind_Linear_Solver = Kind_Linear_Solver_FSI_Struc;
3139-
// Kind_Linear_Solver_Prec = Kind_Linear_Solver_Prec_FSI_Struc;
3140-
// Linear_Solver_Error = Linear_Solver_Error_FSI_Struc;
3141-
// Linear_Solver_Iter = Linear_Solver_Iter_FSI_Struc;
3142-
// // Discrete adjoint linear solver
3143-
// Kind_DiscAdj_Linear_Solver = Kind_DiscAdj_Linear_Solver_FSI_Struc;
3144-
// Kind_DiscAdj_Linear_Prec = Kind_DiscAdj_Linear_Prec_FSI_Struc;}
3145-
3146-
// Multizone_Residual = true;
3147-
// }
3148-
// else { FSI_Problem = false; }
31493128

31503129
if (Kind_Solver == EULER ||
31513130
Kind_Solver == NAVIER_STOKES ||

QuickStart/inv_NACA0012.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SOLVER= EULER
1919
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT)
2020
MATH_PROBLEM= DIRECT
2121
%
22-
MULTIZONE=YES
22+
2323
% Restart solution (NO, YES)
2424
RESTART_SOL= NO
2525
SCREEN_OUTPUT=(INNER_ITER, WALL_TIME, RMS_DENSITY, LIFT, DRAG, CAUCHY_SENS_PRESS, CAUCHY_DRAG)
@@ -99,8 +99,8 @@ OBJECTIVE_FUNCTION= DRAG
9999
CFL_NUMBER= 4.0
100100
%
101101
% Number of total iterations
102-
INNER_ITER= 250
103-
WRT_ZONE_CONV=YES
102+
ITER= 250
103+
104104
% ------------------------ LINEAR SOLVER DEFINITION ---------------------------%
105105
%
106106
% Linear solver for implicit formulations (BCGSTAB, FGMRES)

0 commit comments

Comments
 (0)