- **SU2**
(*https://www.cfd-online.com/Forums/su2/*)

- - **SU2 Residuals**
(*https://www.cfd-online.com/Forums/su2/112942-su2-residuals.html*)

SU2 ResidualsHallo,
I am not able to understand how residuals are calculated. Are they the sum of all residuals in each cell or the maximum value in the computational domain? And also, are values saved in the history.csv the log10 of the ratio Res/Res_ref, where Res_ref is a reference value, or simply the log10 of the residuals? Thank you, Roberto |

The residual is the L-2 norm of the residual in the entire domain, and then we compute the log10.
My recommendation is to use tecplot (it is possible to obtain an evaluation copy), the paraview output is unsupported. Cheers, Francisco |

Thank you Francisco for the reply.
Cheers, Roberto. |

SU2 residualsHi,
I am running Inviscid ONERA M6 mesh using the SU2 code. I have run it but it stops after 193 iterations, iwant to increase the number of iterations to to 1500 so plz can you tell what i have to change in cfg file. Thanks in advance Regards, Malik |

Hi Malik,
this is the entry to change the max number of iterations Code:
`% Number of total iterations` Please, post your config file. |

SU2 residualsHi samiam,
there is no error, i need to change convergence criteria thanks |

Hi,
I have other questions regarding residuals. 1. Where can I find the strings of the code where residuals are computed? 2. Is it possible to save residuals in the output file? I need to know at least the infinite-norm of residuals. 3. When running SU2_CFD, it prints "Maximum residual: -3.8985e+00, located at point 49659."; I think it is the maximum Res(rho) in the domain, is it right? Cheers, Roberto |

I'm sorry but your answer about the residuals is not clear to me. I get you use the RMS norm on the residuals, but I'm still wondering about the second question from Roberto:
Quote:
(My guess is they are absolute since you only mentioned the L-2 norm... but I need to ask). Thanks, Oliver |

Quote:
for your 3rd question, as far as i know you are right, it is res(rho). Regards, Tansu |

All times are GMT -4. The time now is 03:36. |