Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions Inc_Heated_Cylinders/cht_2d_3cylinders.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,18 @@
% POISSON_EQUATION)
SOLVER= MULTIPHYSICS
%
% Regime type (COMPRESSIBLE, INCOMPRESSIBLE, FREESURFACE)
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT, DISCRETE_ADJOINT)
MATH_PROBLEM= DIRECT
%
%
CONFIG_LIST = (flow_cylinder.cfg, solid_cylinder1.cfg, solid_cylinder2.cfg, solid_cylinder3.cfg)
CONFIG_LIST= (flow_cylinder.cfg, solid_cylinder1.cfg, solid_cylinder2.cfg, solid_cylinder3.cfg)
%
%
MARKER_ZONE_INTERFACE= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3)
%
%
MARKER_CHT_INTERFACE= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3)
%
%
TIME_DOMAIN = NO
%
% Number of total iterations
OUTER_ITER = 10000
%
Expand All @@ -38,6 +35,10 @@ MESH_FILENAME= mesh_cht_3cyl.su2
%
% Mesh input file format (SU2, CGNS, NETCDF_ASCII)
MESH_FORMAT= SU2
%
% Output file format
OUTPUT_FILES= (RESTART, TECPLOT, PARAVIEW, SURFACE_TECPLOT, SURFACE_PARAVIEW)


% These are just default parameters so that we can run SU2_DOT_AD, they have no physical meaning for this test case.

Expand All @@ -51,7 +52,7 @@ MESH_FORMAT= SU2
DV_KIND= HICKS_HENNE
%
% Marker of the surface in which we are going apply the shape deformation
DV_MARKER= ( cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3 )
DV_MARKER= (cylinder_outer1, cylinder_inner1, cylinder_outer2, cylinder_inner2, cylinder_outer3, cylinder_inner3)
%
% Parameters of the shape deformation
% - NO_DEFORMATION ( 1.0 )
Expand Down
16 changes: 3 additions & 13 deletions Inc_Heated_Cylinders/flow_cylinder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,10 @@ RESTART_SOL= NO
OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
%
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
OBJECTIVE_WEIGHT = 1.0
%
% Read binary restart files (YES, NO)
READ_BINARY_RESTART = NO
%
% Write binary restart files (YES, NO)
WRT_BINARY_RESTART = NO
OBJECTIVE_WEIGHT= 1.0
%
% Data written to history file
HISTORY_OUTPUT=(ITER, RMS_RES, HEAT )
HISTORY_OUTPUT= (ITER, RMS_RES, HEAT)

% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
%
Expand Down Expand Up @@ -199,10 +193,6 @@ SOLUTION_FILENAME= solution_flow.dat
% Restart adjoint input file
SOLUTION_ADJ_FILENAME= solution_adj.dat
%
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
% FIELDVIEW, FIELDVIEW_BINARY)
OUTPUT_FORMAT= TECPLOT
%
% Output file convergence history (w/o extension)
CONV_FILENAME= history
%
Expand Down Expand Up @@ -245,7 +235,7 @@ WRT_CON_FREQ= 1
DEFORM_LINEAR_SOLVER= FGMRES
%
% Number of smoothing iterations for mesh deformation
DEFORM_LINEAR_ITER= 200
DEFORM_LINEAR_SOLVER_ITER= 200
%
% Number of nonlinear deformation iterations (surface deformation increments)
DEFORM_NONLINEAR_ITER= 1
Expand Down
16 changes: 3 additions & 13 deletions Inc_Heated_Cylinders/solid_cylinder1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
%
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
OBJECTIVE_WEIGHT = 1.0
%
% Read binary restart files (YES, NO)
READ_BINARY_RESTART = NO
%
% Write binary restart files (YES, NO)
WRT_BINARY_RESTART = NO

% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
%
Expand All @@ -59,10 +53,10 @@ SOLID_TEMPERATURE_INIT= 350.0
SOLID_DENSITY= 0.000210322
%
% Solid specific heat (J/kg*K)
SPECIFIC_HEAT_CP_SOLID = 1004.703
SPECIFIC_HEAT_CP = 1004.703
%
% Solid thermal conductivity (W/m*K)
THERMAL_CONDUCTIVITY_SOLID= 0.1028
SOLID_THERMAL_CONDUCTIVITY= 0.1028

% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
%
Expand Down Expand Up @@ -127,10 +121,6 @@ SOLUTION_FILENAME= solution_flow.dat
% Restart adjoint input file
SOLUTION_ADJ_FILENAME= solution_adj.dat
%
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
% FIELDVIEW, FIELDVIEW_BINARY)
OUTPUT_FORMAT= TECPLOT
%
% Output file convergence history (w/o extension)
CONV_FILENAME= history
%
Expand Down Expand Up @@ -173,7 +163,7 @@ WRT_CON_FREQ= 1
DEFORM_LINEAR_SOLVER= FGMRES
%
% Number of smoothing iterations for mesh deformation
DEFORM_LINEAR_ITER= 200
DEFORM_LINEAR_SOLVER_ITER= 200
%
% Number of nonlinear deformation iterations (surface deformation increments)
DEFORM_NONLINEAR_ITER= 1
Expand Down
16 changes: 3 additions & 13 deletions Inc_Heated_Cylinders/solid_cylinder2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
%
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
OBJECTIVE_WEIGHT = 1.0
%
% Read binary restart files (YES, NO)
READ_BINARY_RESTART = NO
%
% Write binary restart files (YES, NO)
WRT_BINARY_RESTART = NO

% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
%
Expand All @@ -59,10 +53,10 @@ SOLID_TEMPERATURE_INIT= 350.0
SOLID_DENSITY= 0.000210322
%
% Solid specific heat (J/kg*K)
SPECIFIC_HEAT_CP_SOLID = 1004.703
SPECIFIC_HEAT_CP = 1004.703
%
% Solid thermal conductivity (W/m*K)
THERMAL_CONDUCTIVITY_SOLID= 0.1028
SOLID_THERMAL_CONDUCTIVITY= 0.1028

% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
%
Expand Down Expand Up @@ -137,10 +131,6 @@ SOLUTION_FILENAME= solution_flow.dat
% Restart adjoint input file
SOLUTION_ADJ_FILENAME= solution_adj.dat
%
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
% FIELDVIEW, FIELDVIEW_BINARY)
OUTPUT_FORMAT= TECPLOT
%
% Output file convergence history (w/o extension)
CONV_FILENAME= history
%
Expand Down Expand Up @@ -183,7 +173,7 @@ WRT_CON_FREQ= 1
DEFORM_LINEAR_SOLVER= FGMRES
%
% Number of smoothing iterations for mesh deformation
DEFORM_LINEAR_ITER= 200
DEFORM_LINEAR_SOLVER_ITER= 200
%
% Number of nonlinear deformation iterations (surface deformation increments)
DEFORM_NONLINEAR_ITER= 1
Expand Down
16 changes: 3 additions & 13 deletions Inc_Heated_Cylinders/solid_cylinder3.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ OBJECTIVE_FUNCTION= TOTAL_HEATFLUX
%
% List of weighting values when using more than one OBJECTIVE_FUNCTION. Separate by commas and match with MARKER_MONITORING.
OBJECTIVE_WEIGHT = 1.0
%
% Read binary restart files (YES, NO)
READ_BINARY_RESTART = NO
%
% Write binary restart files (YES, NO)
WRT_BINARY_RESTART = NO

% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%
%
Expand All @@ -59,10 +53,10 @@ SOLID_TEMPERATURE_INIT= 350.0
SOLID_DENSITY= 0.000210322
%
% Solid specific heat (J/kg*K)
SPECIFIC_HEAT_CP_SOLID = 1004.703
SPECIFIC_HEAT_CP = 1004.703
%
% Solid thermal conductivity (W/m*K)
THERMAL_CONDUCTIVITY_SOLID= 0.1028
SOLID_THERMAL_CONDUCTIVITY= 0.1028

% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%
%
Expand Down Expand Up @@ -137,10 +131,6 @@ SOLUTION_FILENAME= solution_flow.dat
% Restart adjoint input file
SOLUTION_ADJ_FILENAME= solution_adj.dat
%
% Output file format (TECPLOT, TECPLOT_BINARY, PARAVIEW,
% FIELDVIEW, FIELDVIEW_BINARY)
OUTPUT_FORMAT= TECPLOT
%
% Output file convergence history (w/o extension)
CONV_FILENAME= history
%
Expand Down Expand Up @@ -183,7 +173,7 @@ WRT_CON_FREQ= 1
DEFORM_LINEAR_SOLVER= FGMRES
%
% Number of smoothing iterations for mesh deformation
DEFORM_LINEAR_ITER= 200
DEFORM_LINEAR_SOLVER_ITER= 200
%
% Number of nonlinear deformation iterations (surface deformation increments)
DEFORM_NONLINEAR_ITER= 1
Expand Down
Binary file modified Inc_Heated_Cylinders/solution_flow_0.dat
Binary file not shown.
Binary file modified Inc_Heated_Cylinders/solution_flow_1.dat
Binary file not shown.
Binary file modified Inc_Heated_Cylinders/solution_flow_2.dat
Binary file not shown.
Binary file modified Inc_Heated_Cylinders/solution_flow_3.dat
Binary file not shown.
7 changes: 3 additions & 4 deletions Inc_Inviscid_Hydrofoil/inv_naca0012.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,10 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
% Convergence criteria (CAUCHY, RESIDUAL)
%
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_PRESSURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -18
CONV_RESIDUAL_MINVAL= -15
%
% Start Cauchy criteria at iteration number
CONV_STARTITER= 10
Expand Down Expand Up @@ -204,4 +203,4 @@ WRT_SOL_FREQ= 50
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT= (INNER_ITER, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
31 changes: 10 additions & 21 deletions Inc_Laminar_Cavity/lam_buoyancy_cavity.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
% POISSON_EQUATION)
SOLVER= INC_NAVIER_STOKES
%
%
% Specify turbulent model (NONE, SA, SA_NEG, SST)
KIND_TURB_MODEL= NONE
%
Expand Down Expand Up @@ -123,11 +122,11 @@ NUM_METHOD_GRAD= GREEN_GAUSS
CFL_NUMBER= 50.0
%
% Adaptive CFL number (NO, YES)
CFL_ADAPT= NO
CFL_ADAPT= YES
%
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
% CFL max value )
CFL_ADAPT_PARAM= ( 1.5, 0.5, 15.0, 1e10)
CFL_ADAPT_PARAM= ( 0.1, 2.0, 50.0, 1e10)
%
% Maximum Delta Time in local time stepping simulations
MAX_DELTA_TIME= 1E6
Expand All @@ -153,18 +152,18 @@ LINEAR_SOLVER_ILU_FILL_IN= 0
LINEAR_SOLVER_ERROR= 1E-15
%
% Max number of iterations of the linear solver for the implicit formulation
LINEAR_SOLVER_ITER= 10
LINEAR_SOLVER_ITER= 30

% -------------------------- MULTIGRID PARAMETERS -----------------------------%
%
% Multi-Grid Levels (0 = no multi-grid)
MGLEVEL= 2
MGLEVEL= 0
%
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
MGCYCLE= V_CYCLE
%
% Multi-grid pre-smoothing level
MG_PRE_SMOOTH= ( 1, 1, 1, 1 )
MG_PRE_SMOOTH= ( 1, 2, 3, 3 )
%
% Multi-grid post-smoothing level
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
Expand All @@ -173,10 +172,10 @@ MG_POST_SMOOTH= ( 0, 0, 0, 0 )
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
%
% Damping factor for the residual restriction
MG_DAMP_RESTRICTION= 0.8
MG_DAMP_RESTRICTION= 0.95
%
% Damping factor for the correction prolongation
MG_DAMP_PROLONGATION= 0.8
MG_DAMP_PROLONGATION= 0.95

% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
%
Expand All @@ -199,11 +198,10 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
% Convergence criteria (CAUCHY, RESIDUAL)
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_TEMPERATURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -12
CONV_RESIDUAL_MINVAL= -8
%
% Start convergence criteria at iteration number
CONV_STARTITER= 10
Expand All @@ -213,7 +211,6 @@ CONV_CAUCHY_ELEMS= 100
%
% Epsilon to control the series convergence
CONV_CAUCHY_EPS= 1E-6
%

% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
Expand Down Expand Up @@ -266,12 +263,4 @@ WRT_SOL_FREQ= 100
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT= (INNER_ITER, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
% ----------------------- GEOMETRY EVALUATION PARAMETERS ----------------------%
%
% Extract a slice using GEO_BOUNDS (works with 2D cartesian grids only)
WRT_SLICE= YES
%
% Geometrical bounds (Y coordinate) for the wing geometry analysis or
% fuselage evaluation (X coordinate).
GEO_BOUNDS= ( 0.499, 0.501)
SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_TEMPERATURE, LIFT, DRAG)
23 changes: 6 additions & 17 deletions Inc_Laminar_Flat_Plate/lam_flatplate.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES
CFL_NUMBER= 15.0
%
% Adaptive CFL number (NO, YES)
CFL_ADAPT= NO
CFL_ADAPT= YES
%
% Parameters of the adaptive CFL number (factor down, factor up, CFL min value,
% CFL max value )
CFL_ADAPT_PARAM= ( 1.5, 0.5, 1.0, 100.0 )
CFL_ADAPT_PARAM= ( 0.1, 2.0, 1.0, 1e10 )
%
% Number of total iterations
ITER= 99999
Expand All @@ -164,7 +164,7 @@ LINEAR_SOLVER_ITER= 25
% -------------------------- MULTIGRID PARAMETERS -----------------------------%
%
% Multi-Grid Levels (0 = no multi-grid)
MGLEVEL= 3
MGLEVEL= 0
%
% Multi-grid cycle (V_CYCLE, W_CYCLE, FULLMG_CYCLE)
MGCYCLE= W_CYCLE
Expand Down Expand Up @@ -209,12 +209,10 @@ TIME_DISCRE_FLOW= EULER_IMPLICIT
% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
% Convergence criteria (CAUCHY, RESIDUAL)
%
CONV_CRITERIA= RESIDUAL
%
CONV_FIELD= RMS_PRESSURE
%
% Min value of the residual (log10 of the residual)
CONV_RESIDUAL_MINVAL= -14
CONV_RESIDUAL_MINVAL= -16
%
% Start convergence criteria at iteration number
CONV_STARTITER= 10
Expand All @@ -224,7 +222,6 @@ CONV_CAUCHY_ELEMS= 100
%
% Epsilon to control the series convergence
CONV_CAUCHY_EPS= 1E-6
%

% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
Expand Down Expand Up @@ -277,12 +274,4 @@ WRT_SOL_FREQ= 250
WRT_CON_FREQ= 1
%
% Screen output
SCREEN_OUTPUT= (INNER_ITER, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)

% ----------------------- GEOMETRY EVALUATION PARAMETERS ----------------------%
%
WRT_SLICE= YES
%
% Geometrical bounds (Y coordinate) for the wing geometry analysis or
% fuselage evaluation (X coordinate).
GEO_BOUNDS= ( 0.304, 0.305)
SCREEN_OUTPUT= (INNER_ITER, WALL_TIME, RMS_PRESSURE, RMS_VELOCITY-X, LIFT, DRAG)
Loading