How to show the steps/iterations
Hi every one,
it's a quite short questions: I am working with OpenFoam and pyFoam. How can i see the number of actual iterations. In the shell and the PyFoamplots I can only see the time, not the steps or the iterations. In the other threads i found a lot of plot with the iterations/steps on the xaxis. A lot of words for a short questions :o Greatings Sebastian 
A short answer for a short question: Almost all PyFoamUtilities have a helpoption. That will answer your question. And if the withxxoptions are not sufficient for you you can always define customplots using custom or regexp

Thanks gschaider (bavarian?) and sorry for the late answer.
I used the helpfunction of pyfoam and it's possible to plot the iterations of the timesteps. But i want to plot for example the residuals in a graph which shows the iterations an the xaxis and not the the time. So at the and i want to see a graph, that shows the complete number of iterations ( for example 10000) and the gradient of the residuals. 
Hi!
Quote:
Quote:
Time = 1 , Initial residual = 1, Iterations = 12 Time = 2 , Initial residual = 0.8, Iterations = 13 Time = 3 , Initial residual = 0.69, Iterations = 10 Time = 4 , Initial residual = 0.53, Iterations = 9 The you want to plot this data: it = 0 , res = 1 it = 12, res = 0.8 it = 25, res = 0.69 it = 35, res = 0.53 (Residual as a function of the total amount of iterations). No. Sorry. pyFoam can't do that. The best guess would be to use the write option an then read (using excel, Perl, Python, origin, ....whatever) the resulting data files and do the calculation with that tool Bernhard PS: Maybe s subclass of the LogLineAnalyzerclass could also do the trick, but that is more work 
1 Attachment(s)
Thanks again! I'm from Munich, but cheered for Barcelona, too :D.
Back to topic: I found some pictures, where you can see , what i am looking for. For example in this thread: http://www.cfdonline.com/Forums/ope...implefoam.html There you can see the following image. Does anybody know, how to create such graphs? CU fightingfalcon 
Quote:
Quote:
Quote:
If you want iterations of a(!) linear solver on the xaxis then you'll have to go with the advice from above Or did I completely miss the point? Bernhard 
I think you're right, but I am too new to CFD and OpenFoam! So thank you for your patience!
Is there a difference between steadystate simulation and simulation over a certain time? I'm using rhoTurbFoam for an unsteady case. So I see the Time on the Xaxis like shown on the picture. I hope, I'm begining to understand. Thanks a lot Sebastian 
1 Attachment(s)
Oh.... here's the picture:

Hi Sebastian,
Yes, there is a difference between steadystate and transient cases. The steadystate case tries to solve for a steadystate solution of the system, i.e. what it would look like after a long time of running. The transient, or time dependent, case solves for actual time, so you can see the time evolution of the system you're dealing with. That is why the steadystate case shows iteration steps (iterations toward steadystate) and the transient case shows actual time steps of the system (although every time step is also iterated of course :)). Or is this not what you meant to ask? Regards, Gijs 
To plot the residuals onthefly on screen graphically, I wrote a short tutorial.
See thread http://www.cfdonline.com/Forums/ope...residuals.html 
All times are GMT 4. The time now is 18:54. 