+ All Categories
Home > Documents > Ice Simulation Using GPGPU - NVIDIAon-demand.gputechconf.com/gtc/2013/poster/pdf/P0115...poster VE01...

Ice Simulation Using GPGPU - NVIDIAon-demand.gputechconf.com/gtc/2013/poster/pdf/P0115...poster VE01...

Date post: 03-Jul-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
1
CATEGORY: VISUAL EFFECTS & SIMULATION POSTER VE01 CONTACT NAME Shadi Alawneh: shadi.alawneh@mun.ca Ice Simulation Using GPGPU Shadi Alawneh, Dennis Peters and Roelof C. DragtFaculty of Engineering and Applied Science, Memorial University of Newfoundland, St. John’s, NL, Canada Faculty of Mechanical, Maritime and Material Engineering, Delft University of Technology, Delft, The Netherlands {shadi.alawneh, dpeters}@mun.ca, [email protected] Abstract Simulation of the behaviour of a ship operating in pack ice is a computationally intensive process to which General Purpose Computing on Graphical Processing Units (GPGPU) can be ap- plied. In this work we present an efficient parallel implemen- tation of such a simulator developed using the NVIDIA Com- pute Unified Device Architecture (CUDA). We have conducted an experiment to measure the relative performance of the paral- lel and serial versions of the simulator by running both versions on several different ice fields for several iterations to compare the performance. Our results show speed up of up to 55 times, reducing simulation time for a small ice field from over 40 min- utes to about 45 seconds. Also, we have conducted another experiment to validate our numerical model of ship operations in 2D pack ice. Using a polypropylene vessel and floes, ship- floe and floe-floe interactions are modelled in a model basin and recorded on camera. The video is processed using Image Pro- cessing Techniques to track individual floes (and the vessel) to calculate their position and velocity over time. These results are compared with those of a numerical simulation using identical initial conditions. 1. Methodology The particular problem that we are investigating is to simulate the behaviour of floating ice floes (pack ice, see Fig. 1) as they move under the influence of currents and wind and interact with land, ships and other structures, possibly breaking up in the process. In a two-dimensional model, we model the floes as convex polygons and perform a discrete time simulation of the behaviour of these objects. The goal of this work is to be able to simulate behaviour of ice fields sufficiently quickly to allow the results to be used for planning ice management activities, and so it is necessary to achieve many times faster than real-time simulation. Figure 1: Ice Floe[1] This project is structured in two components, the Ice Simulation Engine, which is the focus of this paper, and the Ice Simulation Viewer, which is being developed to display the data produced by the simulation engine. The simulation viewer displays frames of ice field data sequentially to provide its user with a video of a simulation of the field. It is currently used by the STePS 2 soft- ware team to help determine the validity of the data calculated by the simulation and will eventually be used to present results to project partners. The Ice Simulation Viewer is being devel- oped in C++ using the Qt [2] user interface framework. Fig. 2 shows a screenshot of the main interface of the Ice Simulation Viewer with ice field loaded. Figure 2: Ice Simulation Viewer The method that we have used in the simulation is called Ice Event Mechanics Modeling (IEMM) which is a concept for rapid simulation of sea ice behavior and interaction mechanics. This method designed to take advantage of massively parallel com- putations that are possible using GPU hardware. The main idea of the method is to treat ice as a set of discrete objects with very simple properties, and to model the system mechanics mainly as a set of discrete contact and failure events. This method builds a system solution from a large set of discrete events oc- curring between a large set of discrete objects. The discrete events among the discrete objects are described with simple event equations (event solutions). Figure 3: Ice Simulator Framework 2. Validation Figure 4: Comparison between the numerical model (Num) and experimental data (Exp) of a one ship and one floe situation. Figure 5: Pack ice comparison, numerical model (Num) and experimental data (Exp). Figure 6: Comparison between the numerical simulation and the experiments of a single case. The bodies in the numerical model are manually given coloured dots for convenience. 3. Results Figure 7: Computation Time Per Iteration For The 456 Ice field. Figure 8: Speed Up For The 456 Ice Field. Figure 9: Computation Time Per Iteration For The 824 Ice Field. Figure 10: Speed Up For The 824 Ice Field. We have used Intel(R) Xeon(R) CPU @2.27GHz (2 processors) and a GPU Tesla C2050. This card has 448 processor cores, 1.15 GHz processor core clock and 144 GB/sec memory band- width 4. Conclusion The experiments proved performance benefits for simulating the complex mechanics of a ship operating in pack ice. It is clear that GPGPU has the potential of significantly improving the pro- cessing time of highly data parallel algorithms. The numerical model shows the general trends which are also visible in the ex- perimental data. Especially in the pack ice scenario, it shows realistic behaviour. However, there are some points where the model needs improvement and where the data collected in this research can prove useful in improving the model. 5. Future Work The physical models do not as yet model floe splitting, which are necessary for fully functional models and so adding this will be a next step. Also, while the results so far are promising, we have yet to reach the point where the simulation is fast enough to be practically used for planning ice management activities in realistic size ice fields. Further development and optimization are necessary to achieve this. 6. ACKNOWLEDGMENTS This research has been done under STePS 2 project, under the leadership of Drs. Claude Daley and Bruce Colbourne, and was supported by: ABS, Atlantic Canada Opportunities Agency, BMT Fleet Technology, Husky Oil Operations Ltd, Research and Development Council, Newfoundland and Labrador and Sam- sung Heavy Industries. References [1] Haxon, “Ice floe at oslofjord,” mar 2009, http://www.panoramio.com/photo/19618780. [2] Jasmin Blanchette and Mark Summerfield, C++ GUI Pro- gramming with Qt 4 (2nd Edition) (Prentice Hall Open Source Software Development Series), Prentice Hall, 2 edition, Feb. 2008.
Transcript
Page 1: Ice Simulation Using GPGPU - NVIDIAon-demand.gputechconf.com/gtc/2013/poster/pdf/P0115...poster VE01 contact name shadi alawneh: shadi.alawneh@mun.ca Ice Simulation Using GPGPU Shadi

Category: Visual EffEcts & simulationposter

VE01contact name

shadi alawneh: [email protected]

Ice Simulation Using GPGPUShadi Alawneh, Dennis Peters and Roelof C. Dragt‡

Faculty of Engineering and Applied Science, Memorial University of Newfoundland, St. John’s, NL, Canada‡Faculty of Mechanical, Maritime and Material Engineering, Delft University of Technology, Delft, The Netherlands

{shadi.alawneh, dpeters}@mun.ca, [email protected]

Abstract

Simulation of the behaviour of a ship operating in pack ice isa computationally intensive process to which General PurposeComputing on Graphical Processing Units (GPGPU) can be ap-plied. In this work we present an efficient parallel implemen-tation of such a simulator developed using the NVIDIA Com-pute Unified Device Architecture (CUDA). We have conductedan experiment to measure the relative performance of the paral-lel and serial versions of the simulator by running both versionson several different ice fields for several iterations to comparethe performance. Our results show speed up of up to 55 times,reducing simulation time for a small ice field from over 40 min-utes to about 45 seconds. Also, we have conducted anotherexperiment to validate our numerical model of ship operationsin 2D pack ice. Using a polypropylene vessel and floes, ship-floe and floe-floe interactions are modelled in a model basin andrecorded on camera. The video is processed using Image Pro-cessing Techniques to track individual floes (and the vessel) tocalculate their position and velocity over time. These results arecompared with those of a numerical simulation using identicalinitial conditions.

1. Methodology

The particular problem that we are investigating is to simulatethe behaviour of floating ice floes (pack ice, see Fig. 1) as theymove under the influence of currents and wind and interact withland, ships and other structures, possibly breaking up in theprocess. In a two-dimensional model, we model the floes asconvex polygons and perform a discrete time simulation of thebehaviour of these objects. The goal of this work is to be able tosimulate behaviour of ice fields sufficiently quickly to allow theresults to be used for planning ice management activities, andso it is necessary to achieve many times faster than real-timesimulation.

Figure 1: Ice Floe[1]

This project is structured in two components, the Ice SimulationEngine, which is the focus of this paper, and the Ice SimulationViewer, which is being developed to display the data producedby the simulation engine. The simulation viewer displays framesof ice field data sequentially to provide its user with a video of asimulation of the field. It is currently used by the STePS2 soft-ware team to help determine the validity of the data calculated

by the simulation and will eventually be used to present resultsto project partners. The Ice Simulation Viewer is being devel-oped in C++ using the Qt [2] user interface framework. Fig. 2shows a screenshot of the main interface of the Ice SimulationViewer with ice field loaded.

Figure 2: Ice Simulation Viewer

The method that we have used in the simulation is called IceEvent Mechanics Modeling (IEMM) which is a concept for rapidsimulation of sea ice behavior and interaction mechanics. Thismethod designed to take advantage of massively parallel com-putations that are possible using GPU hardware. The main ideaof the method is to treat ice as a set of discrete objects with verysimple properties, and to model the system mechanics mainlyas a set of discrete contact and failure events. This methodbuilds a system solution from a large set of discrete events oc-curring between a large set of discrete objects. The discreteevents among the discrete objects are described with simpleevent equations (event solutions).

Figure 3: Ice Simulator Framework

2. Validation

Figure 4: Comparison between the numerical model (Num) andexperimental data (Exp) of a one ship and one floe situation.

Figure 5: Pack ice comparison, numerical model (Num) andexperimental data (Exp).

Figure 6: Comparison between the numerical simulation andthe experiments of a single case. The bodies in the numericalmodel are manually given coloured dots for convenience.

3. Results

Figure 7: Computation Time Per Iteration For The 456 Ice field.

Figure 8: Speed Up For The 456 Ice Field.

Figure 9: Computation Time Per Iteration For The 824 Ice Field.

Figure 10: Speed Up For The 824 Ice Field.

We have used Intel(R) Xeon(R) CPU @2.27GHz (2 processors)and a GPU Tesla C2050. This card has 448 processor cores,1.15 GHz processor core clock and 144 GB/sec memory band-width

4. Conclusion

The experiments proved performance benefits for simulating thecomplex mechanics of a ship operating in pack ice. It is clearthat GPGPU has the potential of significantly improving the pro-cessing time of highly data parallel algorithms. The numericalmodel shows the general trends which are also visible in the ex-perimental data. Especially in the pack ice scenario, it showsrealistic behaviour. However, there are some points where themodel needs improvement and where the data collected in thisresearch can prove useful in improving the model.

5. Future Work

The physical models do not as yet model floe splitting, whichare necessary for fully functional models and so adding this willbe a next step. Also, while the results so far are promising, wehave yet to reach the point where the simulation is fast enoughto be practically used for planning ice management activities inrealistic size ice fields. Further development and optimizationare necessary to achieve this.

6. ACKNOWLEDGMENTS

This research has been done under STePS2 project, under theleadership of Drs. Claude Daley and Bruce Colbourne, andwas supported by: ABS, Atlantic Canada Opportunities Agency,BMT Fleet Technology, Husky Oil Operations Ltd, Research andDevelopment Council, Newfoundland and Labrador and Sam-sung Heavy Industries.

References

[1] Haxon, “Ice floe at oslofjord,” mar 2009,http://www.panoramio.com/photo/19618780.

[2] Jasmin Blanchette and Mark Summerfield, C++ GUI Pro-gramming with Qt 4 (2nd Edition) (Prentice Hall Open SourceSoftware Development Series), Prentice Hall, 2 edition, Feb.2008.

Recommended