33
By Chris Worman and Andrey Mirtchovski

By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Embed Size (px)

Citation preview

Page 1: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

By Chris Worman and Andrey Mirtchovski

Page 2: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Why Galaxies?

• Interest in scientific computation and simulation

• Visually appealing results

• To learn how to model gravity based systems

Page 3: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Galaxy Collision

• A galaxy is modeled as a grouping of stars around a massive body

• Only stars with a velocity that is less than the escape velocity will remain in the galaxy:

Page 4: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Velocity

• If the velocity of a star is too low then it will be sucked into the center of the galaxy

• The direction of the velocity should also be tangential to the desired orbit

Page 5: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Gravity

• If a body A of mass m is at a distance of r from a body B of mass M then

Where G is the gravitational constant

Page 6: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Gravity

• This implies that the acceleration in the i-th component ci is given by

Page 7: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

2D Results

• Initially the simulation was implemented in two dimensions

• The following slides depict a collision between two galaxies

• The galaxy on the top of the screen is the more massive of the two

• There are 10,000 stars per galaxy

Page 8: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 9: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 10: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 11: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 12: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Challenges in 3D Implementation

• Computationally expensive– O(n^2) or O(n*log(n)) minimum– Scientific simulations run on 256+ processor

machines

• Memory requirements – Based on design and number of galaxies

memory requirements can grow up to gigabytes

• Visualization – creating a visually appealing galaxy

Page 13: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 14: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Galaxy Collision Realism• Very close to real-life galaxy collisions• Compare a two-galaxy collision with

images taken from Hubble Space Telescope

Page 15: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 16: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

3D Results

• Due to the extreme computation requirements for the 3D version, real-time galaxy collision is limited to about 500 stars per galaxy

• The following slides depict a 3D galaxy collision with 1000 stars per galaxy

Page 17: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 18: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 19: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 20: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 21: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 22: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 23: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 24: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Expandability

• Both 2D and 3D models could be extended to more than 2 galaxies.

• Number of stars per galaxy can vary

• Galaxy masses vary

• Simulation of different celestial objects (quasars, black holes, etc)

Page 25: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 26: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 27: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 28: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 29: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 30: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 31: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model
Page 32: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Conclusion

• Java3D is a viable tool for creating scientific simulations and visualizations

• Performance losses from using Java3D are relatively big compared with pure OpenGL

• Development time is significantly less, due to higher level abstraction of Java3D’s API

• NASA officials have already contacted us… (which leads us to ‘Future Plans’)

Page 33: By Chris Worman and Andrey Mirtchovski. Why Galaxies? Interest in scientific computation and simulation Visually appealing results To learn how to model

Future Plans

• Over the next 5 years we plan to run a 3D simulation of 2 galaxies with 100 000 stars each. We plan to complete a 500-frame movie by the end of the run.

• Simulate evolution of stars, galaxies and solar systems

• http://research.amnh.org/~summers/mihos/mihos.html