Previous Page Top Home

Display Window

The "Display" window dialog allows for the selection and change of display parameters.

In the "Sizes" tab the option for the size of the subdivision changes the size of the window to coarse grain the main canvas. For example, a simulation 1024x512 big with subdivision size 32 will provide a coarse grain grid of 32x16. The size of arrow allows for scaling of the strength of the speed when in the Flow representation, and the maximum size clips the drawing for arrows that are longer than the threshold.

The display update is the number of steps to skip before refreshing the canvas display. In the limit of step=1 the graphics will be more expensive than the algorithmic calculation, while for step=100 then the calculation will be the one taking the most time. A step=10 is the most optimum for simulation sizes of 1024x512. The steps to average is a running-average step number that will display values of all quantity representations averaged over the chosen steps. This parameter takes care of smoothing out quantities that vary rapidly from step to step.

Running Parameter Window

The "running" parameter window gives the oportunity to examine all relevant output quantities of the simulation in real-time. The quantities are refreshed as often as the number of display steps is set to be in the "Display" window.

The "Particle" tab allows for the display of the size of the simulation, the current time-step (counter), and the number and density of particles. The only quantity that is updated in real-time on this tab is the counter.

The "Momentum" tab presents the instantaneous average momentum in the simulation in total, x component, and y component outputs. The relevant quantity is the momentum per site, given by the second column.

The "Population" tab display also in real-time the percentage of the population of particles belonging to the different "types". In lattice gas models, in particular the FHP, the lattice that contains the particles is a triangular lattice. There are 7 types of particles, described by their velocity direction, and the 7th type is a rest particle. Particles 0, 1, 2, 3, 4, and 5 have velocity oriented at 60, 120, 180, 240, and 300 degrees, with the rest particle remaining in the lattice site. The current values shown in the figure below indicate a 28% population of particles type 1 versus only 4% of particles type 4, indicating a net flow in the positive x direction. This is the outcome of momentum injection in the x direction.


Previous Page Top