|
[Sponsors] |
April 8, 2021, 01:37 |
Meaning of Negative Residuals
|
#1 |
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9 |
Hello Everyone,
I ran a simulation and then looked at the velocity profile in CFX-Post and it is not what I expected. I then looked at residual plots in all three planes and I noticed that some residuals were negative (i.e. -5E-10). What do negative values for the residuals imply? Is this an issue? I have searched the forum/online but cannot find anything. |
|
April 8, 2021, 11:58 |
|
#2 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,290
Rep Power: 34 |
" I then looked at residual plots in all three planes and I noticed that some residuals were negative (i.e. -5E-10)"
If you are plotting residuals cell by cell basis then they could be negative because res = src - (A . solution) |
|
April 8, 2021, 12:21 |
|
#3 | |
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9 |
Quote:
So this is not an issue and would not affect my results, right? |
||
April 8, 2021, 12:48 |
|
#4 |
Senior Member
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 9 |
I ask because I am trying to figure out why my velocity profile is wrong.
Last edited by aero_head; April 8, 2021 at 15:25. |
|
April 8, 2021, 14:10 |
|
#5 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Residuals must be evaluated in some norm, the sign is not relevant to ensure the convergence.
|
|
April 8, 2021, 14:48 |
|
#6 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,290
Rep Power: 34 |
It will not affect your solution. Most modern CFD solvers now solve the equation in delta form that is first calculate the residual and then calculate the correction corresponding to it.
CFX is just showing you those residuals , same is what starccm does too. |
|
Tags |
cfx post, negative residual values, plot, residal |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with blockMesh | cshsgy | OpenFOAM Pre-Processing | 2 | October 2, 2017 12:46 |
[ANSYS Meshing] Small mesh error: Zero or negative volume for elements. [Explicit dynamics] | matin | ANSYS Meshing & Geometry | 0 | September 14, 2017 21:19 |
plot residuals | pigna | OpenFOAM Running, Solving & CFD | 2 | December 19, 2014 03:32 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
What is negative pressure meaning for a head? | Dong Li | Main CFD Forum | 1 | March 27, 1999 22:10 |