Skip to content

Convergence plotter

Following another user request and the wish to compare different configurations more easily, we created a new analysis tool: the Convergence plotter. As it is deeply entangled with the Formula Editor, you can open it directly from there (or via the Tools menu).

Open the new plotter from the Formula editor

Once activated (on by default), all formula values will be sampled with Molflow's default sample rate (1 per second). For each formula an individual plot can then be generated in the new Convergence plotter window:

Plotting the convergence of the pressure values of various facet sides

The plotter shows the last 1000 sample points*.

  • Remove every 4th: Smoothens the plot by removing every 4th sample point from beginning to the end. This is automaticaly done if the recorded convergence points exceed the maximum (currently 65535, to keep memory and save file size reasonable). If the plot changes abruptly when pressed, it is because more than 1000 data points were recorded, so 25% more "history" will fit in the last 1000 displayed points.
  • Remove first 100: Removes the first 100 sample points, which can be useful to skip the early intervals which usually have a large deviation. Removing these will quickly highlight more fine-grained changes on later sample points. (If it has no apparent effect on the plot, it's because more than 1000 points are recorded, but only the last 1000 are displayed)

Sample points will automatically be saved with the default XML/ZIP file format, which can be useful for further analysis. In case a lot of formula values are needed, while convergence plots are not, it is advised to turn off sampling. This will prevent large data dumps from being saved.

*The plot limit of 1000 will be user-adjustable in the new ImGui interface. You can test it by activating the ImGui menu (Test / ImGui menu) and opening the convergence plotter from there. That window will also allow to export all recorded data paoints (currently the data is accessible in the XML save file)


Last update: January 22, 2024