CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

initial residuals in icoFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Tushar@cfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2014, 08:55
Default initial residuals in icoFoam
  #1
Member
 
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 13
Mehrez is on a distinguished road
Hi,
My question is about the icoFoam solver (used for transient incompressible Newtonian fluids). Does someone know how the initial residual is evaluated ? I mean the equation.
Thank you in advance.
Mhrz
Mehrez is offline   Reply With Quote

Old   December 13, 2014, 02:29
Default
  #2
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 17
Tushar@cfd is on a distinguished road
Have a look at the following post, where you will find that L1 norm is used.

http://www.cfd-online.com/Forums/ope...tml#post299291

-
Best Regards!
Mehrez likes this.
Tushar@cfd is offline   Reply With Quote

Old   December 14, 2014, 13:24
Exclamation
  #3
Member
 
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 13
Mehrez is on a distinguished road
Quote:
Originally Posted by Tushar@cfd View Post
Have a look at the following post, where you will find that L1 norm is used.

http://www.cfd-online.com/Forums/ope...tml#post299291

-
Best Regards!
Hi,
Thank you for this answer.
It is mentioned on the OpenFoam doc that "the residual is evaluated by substituting the current solution into the equation and taking the magnitude of the difference between the left and right hand sides".
So if I understand well, from the PCG.C file where
solverPerf.initialResidual() = gSumMag(rA)/normFactor
The (rA) is the difference between the left and right hand sides of the equation to solve ?
If we consider the IcoFoam solver. At which step of the PISO algorithm the residual is computed ?
You can see here the numbered equations :
https://www.dropbox.com/s/m848engmee4qawy/Algo.pdf?dl=0
Can you please based on the this file tell me the complete formula of the residual ?

Thanks in advance !

Mhrz
Mehrez is offline   Reply With Quote

Reply

Tags
icofoam, openfoam, residuals


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
transsonic nozzle with rhoSimpleFoam Unseen OpenFOAM Running, Solving & CFD 8 July 1, 2022 06:54
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
Low Mach number Compressible jet flow using LES ankgupta8um OpenFOAM Running, Solving & CFD 7 January 15, 2011 13:38


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