<commit_before>% Physics -------------------------------------------------------------- %
PHYSICAL_PROBLEM= FLUID_STRUCTURE_INTERACTION
MATH_PROBLEM= DISCRETE_ADJOINT
%
FSI_FLUID_PROBLEM= EULER
KIND_TURB_MODEL= NONE
FSI_STRUCTURAL_PROBLEM= ELASTICITY
%
% Optimization --------------------------------------------------------- %
GRAD_OBJFUNC_FILENAME= of_grad.dat
OBJECTIVE_FUNCTION= REFERENCE_NODE
REFERENCE_NODE= 234
REFERENCE_NODE_DISPLACEMENT= (0.0, 0.0)
REFERENCE_NODE_PENALTY= 1.0
DESIGN_VARIABLE_FEA= YOUNG_MODULUS
%
% Compressible free-stream conditions ---------------------------------- %
MACH_NUMBER= 0.8
AOA= 2.5
INIT_OPTION= TD_CONDITIONS
FREESTREAM_OPTION= TEMPERATURE_FS
FREESTREAM_PRESSURE= 101325.0
FREESTREAM_TEMPERATURE= 273.15
REYNOLDS_LENGTH= 0.5
%
% Fluid properties ----------------------------------------------------- %
FLUID_MODEL= IDEAL_GAS
GAMMA_VALUE= 1.4
GAS_CONSTANT= 287.87
VISCOSITY_MODEL= CONSTANT_VISCOSITY
MU_CONSTANT= 1.716E-5
%
% Solid properties ----------------------------------------------------- %
MATERIAL_MODEL= NEO_HOOKEAN
ELASTICITY_MODULUS= 7E9
POISSON_RATIO= 0.35
MATERIAL_DENSITY= 2700.0
%
% Boundary conditions -------------------------------------------------- %
% fluid
MARKER_FAR= ( farfield )
MARKER_EULER= ( leading_edge, 0.0, pressure_side, 0.0, suction_side, 0.0)
% interface
% this needs to appear before the normal load marker
MARKER_ZONE_INTERFACE= (pressure_side,pressure_side_s, suction_side,suction_side_s)
CONSERVATIVE_INTERPOLATION= NO
MATCHING_MESH= NO
% solid
MARKER_CLAMPED = ( clamped )
% this needs to be here to make SU2 cfg happy
MARKER_PRESSURE= ( pressure_side_s,0.0, suction_side_s,0.0 )
%
% Post processing and monitoring --------------------------------------- %
REF_ORIGIN_MOMENT_X= -0.125
REF_ORIGIN_MOMENT_Y= 0.00
REF_ORIGIN_MOMENT_Z= 0.00
REF_LENGTH= 0.5
REF_AREA= 0.5
MARKER_PLOTTING= ( leading_edge, pressure_side, suction_side )
MARKER_MONITORING= ( leading_edge, pressure_side, suction_side )
MARKER_DESIGNING= ( leading_edge, pressure_side, suction_side )
%
% Common numerics settings --------------------------------------------- %
REF_DIMENSIONALIZATION= DIMENSIONAL
NUM_METHOD_GRAD= GREEN_GAUSS
CFL_NUMBER= 15.0
%
% Flow numerics -------------------------------------------------------- %
CONV_NUM_METHOD_FLOW= JST
JST_SENSOR_COEFF= ( 0.5, 0.02 )
TIME_DISCRE_FLOW= EULER_IMPLICIT
%
% Solid numerics ------------------------------------------------------- %
GEOMETRIC_CONDITIONS= LARGE_DEFORMATIONS
FORMULATION_ELASTICITY_2D= PLANE_STRESS
%
% Linear solvers ------------------------------------------------------- %
LINEAR_SOLVER= BCGSTAB
LINEAR_SOLVER_PREC= ILU
LINEAR_SOLVER_ERROR= 1E-3
LINEAR_SOLVER_ITER= 1000
DISCADJ_LIN_SOLVER= BCGSTAB
DISCADJ_LIN_PREC= ILU
% Multigrid
MGLEVEL= 2
MGCYCLE= V_CYCLE
MG_PRE_SMOOTH= ( 1, 2, 3, 3 )
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
MG_DAMP_RESTRICTION= 0.75
MG_DAMP_PROLONGATION= 0.75
%
FSI_LINEAR_SOLVER_STRUC= CONJUGATE_GRADIENT
FSI_LINEAR_SOLVER_PREC_STRUC= ILU
FSI_LINEAR_SOLVER_ERROR_STRUC= 1E-8
FSI_LINEAR_SOLVER_ITER_STRUC= 1000
FSI_DISCADJ_LIN_SOLVER_STRUC = CONJUGATE_GRADIENT
FSI_DISCADJ_LIN_PREC_STRUC = ILU
%
DEFORM_LINEAR_SOLVER= CONJUGATE_GRADIENT
DEFORM_LINEAR_SOLVER_PREC= ILU
DEFORM_LINEAR_SOLVER_ERROR= 1e-8
DEFORM_LINEAR_SOLVER_ITER= 1000
%
% Convergence criteria ------------------------------------------------- %
% interaction
EXT_ITER= 1
FSI_ITER= 9
BGS_RELAXATION= FIXED_PARAMETER
STAT_RELAX_PARAMETER= 0.7
RESIDUAL_REDUCTION_FSI= 4
RESIDUAL_MINVAL_FSI= -4
% fluid
UNST_INT_ITER= 51
CONV_CRITERIA= RESIDUAL
STARTCONV_ITER= 0
RESIDUAL_REDUCTION= 9
RESIDUAL_MINVAL= -9
% solid
NONLINEAR_FEM_INT_ITER= 11
RESIDUAL_FEM_UTOL= -9.0
RESIDUAL_FEM_RTOL= -9.0
RESIDUAL_FEM_ETOL= -9.0
% grid deformation
DEFORM_STIFFNESS_TYPE= INVERSE_VOLUME
%
% In\Out --------------------------------------------------------------- %
MESH_FILENAME= mesh.su2
MESH_FORMAT= SU2
%
RESTART_SOL= NO
SOLUTION_FLOW_FILENAME= solution_fluid.dat
SOLUTION_STRUCTURE_FILENAME= solution_solid.dat<commit_msg>python option<commit_after>% Physics -------------------------------------------------------------- %
PHYSICAL_PROBLEM= FLUID_STRUCTURE_INTERACTION
MATH_PROBLEM= DISCRETE_ADJOINT
%
FSI_FLUID_PROBLEM= EULER
KIND_TURB_MODEL= NONE
FSI_STRUCTURAL_PROBLEM= ELASTICITY
%
% Optimization --------------------------------------------------------- %
GRAD_OBJFUNC_FILENAME= of_grad.dat
OBJECTIVE_FUNCTION= REFERENCE_NODE
REFERENCE_NODE= 234
REFERENCE_NODE_DISPLACEMENT= (0.0, 0.0)
REFERENCE_NODE_PENALTY= 1.0
DESIGN_VARIABLE_FEA= YOUNG_MODULUS
%
% Compressible free-stream conditions ---------------------------------- %
MACH_NUMBER= 0.8
AOA= 2.5
INIT_OPTION= TD_CONDITIONS
FREESTREAM_OPTION= TEMPERATURE_FS
FREESTREAM_PRESSURE= 101325.0
FREESTREAM_TEMPERATURE= 273.15
REYNOLDS_LENGTH= 0.5
%
% Fluid properties ----------------------------------------------------- %
FLUID_MODEL= IDEAL_GAS
GAMMA_VALUE= 1.4
GAS_CONSTANT= 287.87
VISCOSITY_MODEL= CONSTANT_VISCOSITY
MU_CONSTANT= 1.716E-5
%
% Solid properties ----------------------------------------------------- %
MATERIAL_MODEL= NEO_HOOKEAN
ELASTICITY_MODULUS= 7E9
POISSON_RATIO= 0.35
MATERIAL_DENSITY= 2700.0
%
% Boundary conditions -------------------------------------------------- %
% fluid
MARKER_FAR= ( farfield )
MARKER_EULER= ( leading_edge, 0.0, pressure_side, 0.0, suction_side, 0.0)
% interface
% this needs to appear before the normal load marker
MARKER_ZONE_INTERFACE= (pressure_side,pressure_side_s, suction_side,suction_side_s)
CONSERVATIVE_INTERPOLATION= NO
MATCHING_MESH= NO
% solid
MARKER_CLAMPED = ( clamped )
% this needs to be here to make SU2 cfg happy
MARKER_PRESSURE= ( pressure_side_s,0.0, suction_side_s,0.0 )
%
% Post processing and monitoring --------------------------------------- %
REF_ORIGIN_MOMENT_X= -0.125
REF_ORIGIN_MOMENT_Y= 0.00
REF_ORIGIN_MOMENT_Z= 0.00
REF_LENGTH= 0.5
REF_AREA= 0.5
MARKER_PLOTTING= ( leading_edge, pressure_side, suction_side )
MARKER_MONITORING= ( leading_edge, pressure_side, suction_side )
MARKER_DESIGNING= ( leading_edge, pressure_side, suction_side )
%
% Common numerics settings --------------------------------------------- %
REF_DIMENSIONALIZATION= DIMENSIONAL
NUM_METHOD_GRAD= GREEN_GAUSS
CFL_NUMBER= 15.0
%
% Flow numerics -------------------------------------------------------- %
CONV_NUM_METHOD_FLOW= JST
JST_SENSOR_COEFF= ( 0.5, 0.02 )
TIME_DISCRE_FLOW= EULER_IMPLICIT
%
% Solid numerics ------------------------------------------------------- %
GEOMETRIC_CONDITIONS= LARGE_DEFORMATIONS
FORMULATION_ELASTICITY_2D= PLANE_STRESS
%
% Linear solvers ------------------------------------------------------- %
LINEAR_SOLVER= BCGSTAB
LINEAR_SOLVER_PREC= ILU
LINEAR_SOLVER_ERROR= 1E-3
LINEAR_SOLVER_ITER= 1000
DISCADJ_LIN_SOLVER= BCGSTAB
DISCADJ_LIN_PREC= ILU
% Multigrid
MGLEVEL= 2
MGCYCLE= V_CYCLE
MG_PRE_SMOOTH= ( 1, 2, 3, 3 )
MG_POST_SMOOTH= ( 0, 0, 0, 0 )
MG_CORRECTION_SMOOTH= ( 0, 0, 0, 0 )
MG_DAMP_RESTRICTION= 0.75
MG_DAMP_PROLONGATION= 0.75
%
FSI_LINEAR_SOLVER_STRUC= CONJUGATE_GRADIENT
FSI_LINEAR_SOLVER_PREC_STRUC= ILU
FSI_LINEAR_SOLVER_ERROR_STRUC= 1E-8
FSI_LINEAR_SOLVER_ITER_STRUC= 1000
FSI_DISCADJ_LIN_SOLVER_STRUC = CONJUGATE_GRADIENT
FSI_DISCADJ_LIN_PREC_STRUC = ILU
%
DEFORM_LINEAR_SOLVER= CONJUGATE_GRADIENT
DEFORM_LINEAR_SOLVER_PREC= ILU
DEFORM_LINEAR_SOLVER_ERROR= 1e-8
DEFORM_LINEAR_SOLVER_ITER= 1000
%
% Convergence criteria ------------------------------------------------- %
% interaction
EXT_ITER= 1
TIME_ITER= 1
FSI_ITER= 9
BGS_RELAXATION= FIXED_PARAMETER
STAT_RELAX_PARAMETER= 0.7
RESIDUAL_REDUCTION_FSI= 4
RESIDUAL_MINVAL_FSI= -4
% fluid
UNST_INT_ITER= 51
CONV_CRITERIA= RESIDUAL
STARTCONV_ITER= 0
RESIDUAL_REDUCTION= 9
RESIDUAL_MINVAL= -9
% solid
NONLINEAR_FEM_INT_ITER= 11
RESIDUAL_FEM_UTOL= -9.0
RESIDUAL_FEM_RTOL= -9.0
RESIDUAL_FEM_ETOL= -9.0
% grid deformation
DEFORM_STIFFNESS_TYPE= INVERSE_VOLUME
%
% In\Out --------------------------------------------------------------- %
MESH_FILENAME= mesh.su2
MESH_FORMAT= SU2
%
RESTART_SOL= NO
SOLUTION_FLOW_FILENAME= solution_fluid.dat
SOLUTION_STRUCTURE_FILENAME= solution_solid.dat
{'fraction_non_alphanumeric': 0.22735674676524953, 'fraction_numerical': 0.03487369069624153, 'mean_word_length': 2.7713754646840147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1074369', 'n_tokens_mistral': 3339, 'n_tokens_neox': 3049, 'n_words': 538}