The purpose of the project is to simulate an ideal gas on a VGA monitor to perform calculation when the ideal gas particles collide with each other or within the edge of the VGA monitor screen.
A state machine on the DE2 development board was built to achieve the goal of the project which keeps track of the particle coordinates and velocities in m4k blocks. Each particles coordinates are updated and redrawn on the screen once per frame. A fluid simulation based on an ideal gas should have a large density of simulated particles since an ideal gas is generally considered a large mass of free moving particles.
The state machine, collision calculator, and m4k blocks comprise the entire project. Different components had to be tweaked as much as possible in a given number of clock cycles in order to simulate as many particles. The project can simulate over 500 balls on the screen as they bounce off each other properly in most cases. The random ball locations are being generated by a small matlab program. The speeds and locations of the particles can be changed to see how they interact on the screen.
Wire-to-board interconnection options from Sullins feature a wide range of sizes and applications
MCC’s TVS series high-power suppressors protect sensitive components from voltage spikes and transients
Evaluation boards that streamline evaluating circuit protection on RS-485 serial device ports
There are currently no comments.