CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Locating max residuals in volume (https://www.cfd-online.com/Forums/su2/241430-locating-max-residuals-volume.html)

gerald February 26, 2022 03:57

Locating max residuals in volume
 
Hello,
Is there a way to monitor the location (x,y,z) where residual(s) are maximum, along iterations?
Best,
Gérald

bigfootedrockmidget February 26, 2022 15:56

With the keyword MAX_RES you can add the maximum value of the residuals for each of the transported variables to the history file. It will not give you the locations where these values occur, for that you'll have to check the volume fields in paraview.

gerald February 27, 2022 04:00

Thanks for the information and tip. I guess the keywords RES_DENSITY or RES_XXX should be added to the VOLUME_OUTPUT variables in the .cfg to get in the residuals in the field output file. Would I then get the explicit residual (in case I am running a steady RANS/euler simulation with an implicit stage)?
Best,
Gérald

TKatt February 28, 2022 12:33

Just use
Code:

VOLUME_OUTPUT= RESIDUAL, ...
to get the residuals of all solution variables. Then I would recommend using the Threshold filter in Paraview to identify spots with high residuals (in case that does not become obvious at first glance of the results).



I am not sure what you mean with 'explicit residual' though. For a steady simulation the residual is computed the same way for explicit or implicit simulation (as far as I am aware of)

gerald March 2, 2022 02:14

Many thanks for your answer. I am not a numerician, but as far as I know some codes distinguish between the "explicit" residual , physically relevant if I understand it right, and an "implicit" residual used somehow in the implicit scheme. If there is no such distinction in SU2 then it's fine I guess.
Best,
Gérald


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