# Meaning of Negative Residuals

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

 April 8, 2021, 00:37 Meaning of Negative Residuals #1 Senior Member   Kira Join Date: Nov 2020 Location: Canada Posts: 436 Rep Power: 7 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, 10:58 #2 Senior Member   Arjun Join Date: Mar 2009 Location: Nurenberg, Germany Posts: 1,204 Rep Power: 31 " 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) aero_head likes this.

April 8, 2021, 11:21
#3
Senior Member

Kira
Join Date: Nov 2020
Posts: 436
Rep Power: 7
Quote:
 Originally Posted by arjun " 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)
Thanks Arjun,

So this is not an issue and would not affect my results, right?

 April 8, 2021, 11:48 #4 Senior Member   Kira Join Date: Nov 2020 Location: Canada Posts: 436 Rep Power: 7 I ask because I am trying to figure out why my velocity profile is wrong. Last edited by aero_head; April 8, 2021 at 14:25.

 April 8, 2021, 13:10 #5 Senior Member   Filippo Maria Denaro Join Date: Jul 2010 Posts: 6,386 Rep Power: 67 Residuals must be evaluated in some norm, the sign is not relevant to ensure the convergence. aero_head likes this.

 April 8, 2021, 13:48 #6 Senior Member   Arjun Join Date: Mar 2009 Location: Nurenberg, Germany Posts: 1,204 Rep Power: 31 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. aero_head likes this.

 Tags cfx post, negative residual values, plot, residal