jaheyns / CfdOF

Computational Fluid Dynamics (CFD) for FreeCAD based on OpenFOAM solver
GNU Lesser General Public License v3.0
442 stars 84 forks source link

"Sticky" reportingfunction x/y axis scales #153

Open mas985 opened 5 months ago

mas985 commented 5 months ago

While the simulation is running, reportingFunction is updated and with each update, the graph is rescaled based upon the entire dataset. The problem with this is when using probes, the first couple of iterations can sometimes have erroneous values that are way outside the scope of actual valves. This can make the graphs unreadable. I can change the scale of the graph but it is erased with the next iteration. If there was a way to keep the manual setting of the graph max/min for the next iteration, that would solve this issue.

oliveroxtoby commented 4 months ago

Thank you. I've started having a look at this but it's a bit more tricky than I'd hoped. Hopefully get it sorted some time soon, time permitting.

mas985 commented 4 months ago

Thanks!

If it makes it any easier, you could just skip the first couple of iterations when determining the autoscale as that is where the large deviations occur due to initial convergence.