CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

The simulation has diverged

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2023, 02:43
Default The simulation has diverged
  #1
Member
 
Zhang
Join Date: Mar 2023
Posts: 72
Rep Power: 3
Amber0922 is on a distinguished road
I try to run the backward step model, but comes to some questions. When I try to run my config file, it shows

Error in "void CSolver::SetResidual_RMS(const CGeometry*, const CConfig*)":
-------------------------------------------------------------------------
SU2 has diverged (NaN detected).
-------------------------------------------------------------------------

I think maybe I forget to set something, but I don't find it. Here is my config file.



% Physical governing equations (EULER, NAVIER_STOKES,
% WAVE_EQUATION, HEAT_EQUATION, FEM_ELASTICITY,
% POISSON_EQUATION)
SOLVER= RANS
KIND_TURB_MODEL= SA
HYBRID_RANSLES= SA_EDDES
%
% Mathematical problem (DIRECT, CONTINUOUS_ADJOINT)
MATH_PROBLEM= DIRECT
%
% Axisymmetric simulation, only compressible flows (NO, YES)
AXISYMMETRIC= NO
%
% Restart solution (NO, YES)
RESTART_SOL= NO

SYSTEM_MEASUREMENTS= SI
%
% ----------- COMPRESSIBLE AND INCOMPRESSIBLE FREE-STREAM DEFINITION ----------%
%
MACH_NUMBER= 0.128
AOA= 0.0
SIDESLIP_ANGLE= 0.0
FREESTREAM_TEMPERATURE= 298.3
FREESTREAM_VELOCITY= ( 44.2, 0.00, 0.00 )
REYNOLDS_NUMBER= 36000
REYNOLDS_LENGTH= 1.0
%
% ---------------------- REFERENCE VALUE DEFINITION ---------------------------%
%
% Reference origin for moment computation
REF_ORIGIN_MOMENT_X = 0.25
REF_ORIGIN_MOMENT_Y = 0.00
REF_ORIGIN_MOMENT_Z = 0.00
%
% Reference length for pitching, rolling, and yawing non-dimensional moment
REF_LENGTH= 1.0
%
% Reference area for force coefficients (0 implies automatic calculation)
REF_AREA= 0
%
% ------------------------- UNSTEADY SIMULATION -------------------------------%

TIME_DOMAIN= YES
TIME_MARCHING= DUAL_TIME_STEPPING-2ND_ORDER
%
% U_inf = 69.4448 - dt*=0.02 - dt=0.000288
TIME_STEP= 0.00046
MAX_TIME= 0.689
UNST_CFL_NUMBER= 0.0
INNER_ITER= 80
%
% -------------------- BOUNDARY CONDITION DEFINITION --------------------------%

MARKER_HEATFLUX= ( STEP, 0.0, UPPERWALL,0.0, LOWERWALL,0.0 )
flow_direction_x,

MARKER_INLET= ( INLET, 298.3, 44.2, 1.0, 0.0, 0.0 )

MARKER_SYM= ( WALL1, WALL2 )

MARKER_OUTLET= ( OUTLET, 0.0 )

MARKER_PLOTTING= ( STEP, WALL1, WALL2, UPPERWALL, LOWERWALL)

MARKER_MONITORING= ( STEP, WALL1, WALL2, UPPERWALL, LOWERWALL )

% ------------- COMMON PARAMETERS DEFINING THE NUMERICAL METHOD ---------------%

NUM_METHOD_GRAD= GREEN_GAUSS

CFL_NUMBER= 10.0

CFL_ADAPT= NO

CFL_ADAPT_PARAM= ( 1.5, 0.5, 2.0, 100.0 )

RK_ALPHA_COEFF= ( 0.66667, 0.66667, 1.000000 )
TIME_ITER= 2000
%

% ----------------------- SLOPE LIMITER DEFINITION ----------------------------%
%
MUSCL_FLOW= YES
SLOPE_LIMITER_FLOW= NONE
MUSCL_TURB= NO
VENKAT_LIMITER_COEFF= 0.05

% -------------------- FLOW NUMERICAL METHOD DEFINITION -----------------------%
%
CONV_NUM_METHOD_FLOW= SLAU2
TIME_DISCRE_FLOW= EULER_IMPLICIT
%
% -------------------- TURBULENT NUMERICAL METHOD DEFINITION ------------------%
%
CONV_NUM_METHOD_TURB= SCALAR_UPWIND
TIME_DISCRE_TURB= EULER_IMPLICIT

% --------------------------- CONVERGENCE PARAMETERS --------------------------%
%
CONV_RESIDUAL_MINVAL= -15
CONV_STARTITER= 10
CONV_CAUCHY_ELEMS= 100
CONV_CAUCHY_EPS= 1E-6

MESH_FILENAME= backwardstep.cgns

MESH_FORMAT= CGNS

MESH_OUT_FILENAME= mesh_out.su2

SOLUTION_FILENAME= solution_flow.dat

SOLUTION_ADJ_FILENAME= solution_adj.dat

TABULAR_FORMAT= TECPLOT

CONV_FILENAME= history

RESTART_FILENAME= restart_flow.dat

RESTART_ADJ_FILENAME= restart_adj.dat

VOLUME_FILENAME= flow

VOLUME_ADJ_FILENAME= adjoint

SURFACE_FILENAME= surface_flow
SURFACE_ADJ_FILENAME= surface_adjoint

SCREEN_OUTPUT=(TIME_ITER, INNER_ITER, LIFT, DRAG, TOTAL_HEATFLUX)
Amber0922 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping Field Data for Mesh Regions from Another Simulation veterator OpenFOAM Pre-Processing 1 July 10, 2018 05:28
Surface Source - Fixed Temperature? robtheslob FloEFD, FloWorks & FloTHERM 18 May 12, 2017 02:28
Simulation FPEs - turbulence for transient and steady-state? DaveR OpenFOAM Running, Solving & CFD 5 March 5, 2017 15:06
Simulation fails after adding multi-component gas ConorH STAR-CCM+ 3 January 20, 2017 09:50
setting up a simulation with multiple interactions phandy OpenFOAM Running, Solving & CFD 1 October 6, 2014 03:16


All times are GMT -4. The time now is 15:15.