CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   SU2 writing flow and restart solution at each iteration (https://www.cfd-online.com/Forums/su2/227726-su2-writing-flow-restart-solution-each-iteration.html)

WMallik June 8, 2020 06:12

SU2 writing flow and restart solution at each iteration
 
Hi,

I'm using the latest SU2 7.0.5. I have a problem with writing solution file frequency for the unsteady case (actually I am running tutorial Unsteady NACA0012 to learn using SU2).

The code writes output (flow, restart_soln, surface, etc.) every timestep instead of every 50. I am using the following input/output options. Please suggest a solution.

% ------------------------- INPUT/OUTPUT INFORMATION --------------------------%
%
HISTORY_WRT_FREQ_INNER=0
SCREEN_WRT_FREQ_INNER =5
%
% Mesh input file
MESH_FILENAME= unsteady_naca0012_mesh.su2
%
% Mesh input file format (SU2, CGNS, NETCDF_ASCII)
MESH_FORMAT= SU2
%
% Mesh output file
MESH_OUT_FILENAME= mesh_out.su2
%
% Restart flow input file
SOLUTION_FILENAME= restart_flow.dat
%
% Restart adjoint input file
SOLUTION_ADJ_FILENAME= restart_adj.dat
%
% Output file format (PARAVIEW, TECPLOT, STL)
TABULAR_FORMAT= TECPLOT
%
% Output file convergence history (w/o extension)
CONV_FILENAME= 0_history
%
% Output file restart flow
RESTART_FILENAME= restart_flow.dat
%
% Output file restart adjoint
RESTART_ADJ_FILENAME= restart_adj.dat
%
% Output file flow (w/o extension) variables
VOLUME_FILENAME= flow
%
% Output file surface flow coefficient (w/o extension)
SURFACE_FILENAME= surface_flow
%
% Writing solution file frequency
WRT_SOL_FREQ=50
%
WRT_SOL_FREQ_DUALTIME=50
%
% Writing convergence history frequency% Writing convergence history frequency (dual time, only written to screen)
WRT_CON_FREQ_DUALTIME= 10
WRT_CON_FREQ= 5
WRT_CSV_SOL=NO
%
SCREEN_OUTPUT=(TIME_ITER, INNER_ITER, DRAG, LIFT, RMS_DENSITY, REL_RMS_DENSITY, CAUCHY_TAVG_DRAG, CAUCHY_TAVG_LIFT)
HISTORY_OUTPUT=(ITER,REL_RMS_RES,RMS_RES, AERO_COEFF,TAVG_AERO_COEFF, CAUCHY)
%

talbring June 8, 2020 07:11

WRT_SOL_FREQ and WRT_SOL_FREQ_DUALTIME are deprecated option. Please use OUTPUT_WRT_FREQ which is also documented at https://su2code.github.io/docs_v7/Gu...output-options and at https://su2code.github.io/docs_v7/Custom-Output/

WMallik June 8, 2020 07:21

Thanks! It solved the problem.


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