CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD


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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2019, 06:53
Default pyFoamPlotRunner
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 6
Owais Shabbir is on a distinguished road
Dear All,

I have a very simple question. I am running my case and I have around 3000 steps to be simulated. I run my case using simpleFoam > log.simplefoam
When I am looking at the graphs I notice that epsilon shoots to an extremely high value as shown in the pic. But later it gets better and I would like to read the values been updated on the graph but the y-axis is extended making it impossible to read the instant values. Is there a way to make the 'Bounded Variables' graph to only show last few steps value instead of showing it from 0.

Secondly does it matter if the epsilon behaves initially in this behavior because the other variables don't show a similar trend. The Cumulative Continuity also tries to converge at -60 which I can't really judge if it is a good value or not.

Details about my case:

simpleFoam with k-epsilon model
Calculating epsilon = (0.09^0,75)*(k^1,5)/L
Relaxation factors: p=0,2 U=0,7 k=0,4 epsilon=0,6
Attached Images
File Type: jpg cfdonline.jpg (133.3 KB, 58 views)
Owais Shabbir is offline   Reply With Quote

Old   June 11, 2019, 10:30
Default one possible solution
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 6
Owais Shabbir is on a distinguished road
For people stumbling upon this question, I found an alternative way for this.

In the controlDict file, for the startFrom option chose the entry latestTime. Simply restart the simulation and the graphs will be updated with the new values.

Remarks: Some errors might show up in the restarting of the simulation and that is because the final time folder you stopped at isn't completed. So just delete that folder and it will work fine.

If anyone else want to give their insights on this, I'd also appreciate it.
Owais Shabbir is offline   Reply With Quote

Old   February 21, 2023, 05:31
New Member
Join Date: Feb 2023
Posts: 1
Rep Power: 0
GaryCooper is on a distinguished road
I came up with an alternate solution for anybody who may come into this dilemma in the future.

When prompted in the controlDict file, choose the item under "latestTime" for the startFrom option. Merely resume the experiment, and the new numbers will be reflected in the graphs when they have been updated.

Remarks: When you begin the simulation, you may see that certain errors have occurred; this is due to the fact that the folder containing the most recent saved time is incomplete. You may thus remove that folder, and everything will continue to function normally.

flappy bird

I'd be grateful to hear from anybody else who has thoughts on this matter, if they want to share them.
GaryCooper is offline   Reply With Quote


continuity residual, gnuplot, pyfoamplotrunner, residuals

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
How to see pyFoamPlotRunner again? pela145 OpenFOAM Running, Solving & CFD 0 February 13, 2016 08:26
pyFoamPLotRunner & pimpleDyMFoam: plotting reidual by iterations, not timeStep student666 OpenFOAM Running, Solving & CFD 0 January 20, 2015 13:41
[PyFoam] why pyFoamPlotRunner doesn't plot continuity residuals? immortality OpenFOAM Community Contributions 10 May 5, 2013 07:13
[PyFoam] pyFoamPlotRunner on network PeterX30 OpenFOAM Community Contributions 2 December 12, 2012 16:28
[PyFoam] How to return initial scale in gnuplot whire running pyFoamPlotRunner.. j-avdeev OpenFOAM Community Contributions 1 December 27, 2011 08:45

All times are GMT -4. The time now is 18:50.