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

to print residual or in a file...

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2012, 05:55
Default to print residual or in a file...
  #1
Member
 
Tom
Join Date: Jan 2012
Location: France
Posts: 43
Rep Power: 14
sawyer86 is on a distinguished road
Hi community,

does anyone know how is possible to print the residual (i mean the one computed in simpleFoam, for example) in a file in the way to plot it and see how it develops during time?

Or maybe, that will be better, there is a way to compute the norms...I mean:

norm=(mag(U2)-mag(U1))/(t2-t1)

where 1 and 2 stand for two different choosen times...

Thanks in advance for the guys will answer my post...

ps: I don't too much about c++...i can understand that for someone these are obvious things...
sawyer86 is offline   Reply With Quote

Old   February 23, 2012, 08:14
Default
  #2
Member
 
Rob
Join Date: Sep 2011
Posts: 55
Rep Power: 14
robbirobocop is on a distinguished road
I know it sounds stupid but before you open a new forum thread you should use the "Search" function.

An useful thread for your kind of problem can be found here.
robbirobocop is offline   Reply With Quote

Old   February 23, 2012, 09:58
Default
  #3
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

what about http://openfoamwiki.net/index.php/Co...mPlotRunner.py
elvis is offline   Reply With Quote

Old   February 23, 2012, 11:07
Default ...
  #4
Member
 
Tom
Join Date: Jan 2012
Location: France
Posts: 43
Rep Power: 14
sawyer86 is on a distinguished road
Quote:
Originally Posted by elvis View Post
Hi,

Thank you for the answer, and i am sorry if i crossed with other thread...

The PyFoam is very usefull even if i got problem running it...By the way I want to ask if there is a way to compute the mag(U) residual...?

And how exactly the residual is computed?...if you can suggest me where to have a look could be great...

Thanks in advance
sawyer86 is offline   Reply With Quote

Old   February 23, 2012, 11:10
Default
  #5
Member
 
Tom
Join Date: Jan 2012
Location: France
Posts: 43
Rep Power: 14
sawyer86 is on a distinguished road
Quote:
Originally Posted by robbirobocop View Post
I know it sounds stupid but before you open a new forum thread you should use the "Search" function.

An useful thread for your kind of problem can be found here.
Hi,

It's not stupid and you are right...but i am new of the community...and also new about the possible probleam someone can find...so I didb't know how to find...anyway...

Can you explain me how the residual is compute please and if is possible to plot also the residual for the mag(U)?

thank you in advance!
sawyer86 is offline   Reply With Quote

Old   February 24, 2012, 07:27
Default
  #6
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

You can read the doctoral thesis by Hrvoje Jasak (spiritus rector of FOAM beside Henry Weller) Error Analysis and Estimation for the Finite Volume Method with Applications to Fluid Flows =>4.5 Residual Error Estimate page 173
elvis is offline   Reply With Quote

Reply


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
icoLagrangianFoam OF1.6 myNewParticleSolver heavy_user OpenFOAM 23 June 2, 2020 02:18
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 09:20
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 10:23.