Post Processing

From LBSim
Jump to: navigation, search

In this section, we talk about some tools to analyze the executed simulation. The program renders the simulation in different manners, presents some values (density, velocity module) in charts and generate data files with the main values.

The Tracers Dialog

Through the use of Tracers dialog, the user can add passive tracers to the simulation and visualize them at the rendering screen. There are options for setting the initial position of the tracers, changing their colors and configure if they will be automatically refilled in their positions. Beyond that, you can configure a diffusion effect, adding some aleatory deviation on their position and you can too apply a factor to their velocity, making them run faster.

The Chart Dialog

The Chart dialog presents to the user three types of chart: -log(deltaP) (for convergence analysis), velocity module and pressure (density, more precisely). You can fix a X or Y value, making a chart varying the other axis values. There is a option to fix the scale or let the program change it automatically. You can resize the chart window, make it bigger or smaller.

The Results Dialog

The Results dialog contains a few tools to generate results from simulations. The Simulation group has a textfield that allow the user to configure the maximum number of iterations. Another control is the possibility to configure the minimum density variation average in order to stop the execution of the simulation.

The option Images enable the creation of PNG files which are screenshots from what the user see at the screen. The developed program can save files during the simulation using the CSV format. The V, P etc. option saves, for each iteration, a CSV file containing the macroscopic values of density and velocity for each cell of the simulation. Finally, the Simulation option saves a file, for each simulation, containing data about each iteration. The Interval textfield allows the user to configure the interval the program will respect to save these files.

Previous Next