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

pyFoamPlotRunner

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2019, 05:53
Default pyFoamPlotRunner
  #1
Member
 
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 3
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
pyFoamPlotRunner.py 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, 18 views)
Owais Shabbir is offline   Reply With Quote

Old   June 11, 2019, 09:30
Default one possible solution
  #2
Member
 
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 3
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

Reply

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


All times are GMT -4. The time now is 20:37.