|
[Sponsors] |
June 6, 2019, 05:53 |
pyFoamPlotRunner
|
#1 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
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.simplefoamWhen 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 |
|
June 11, 2019, 09:30 |
one possible solution
|
#2 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
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. |
|
February 21, 2023, 04:31 |
|
#3 |
New Member
Join Date: Feb 2023
Posts: 1
Rep Power: 0 |
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. |
|
Tags |
continuity residual, gnuplot, pyfoamplotrunner, residuals |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |