Skip to main content

Two-Way Coupled Sprays and Liquid Surface: A GPU-Based Multi-Scale Fluid Animation Method

  • Chapter
  • First Online:
GPU Solutions to Multi-scale Problems in Science and Engineering

Part of the book series: Lecture Notes in Earth System Sciences ((LNESS))

  • 2879 Accesses

Abstract

GPU-based fluid animation is a hot topic in many applications such as films, cartoons and games. As the flow phenomena contain highly complex behaviors and rich visual details, it is necessary to explore the intrinsic multi-scale property in fluid animation. In this paper, we present a multi-scale fluid animation method on GPU. Our method is designed to animate fluid details of grid and sub-grid scale with high efficiency. In our method, the motion of liquid surface is obtained by solving Navier-Stokes equations and Level Set equation while the dynamics of fluid sprays are dominated by SPH solution. The interaction between liquid surface and sprays is modeled by a two-way coupling algorithm which can be executed efficiently on GPU. From the results of the experiments, we can reach the conclusion that the proposed GPU based acceleration method can improve the processing speed of the multi-scale fluid animation significantly while getting interesting details.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  • Adams B, Pauly M, Keiser R, Guibas LJ (2007) Adaptively sampled particle fluids. ACM Trans Graph 48–48* (Proceedings of SIGGRAPH)

    Google Scholar 

  • Amada T, Imura M, Yasumoto Y, Yamabe Y, Chihara K (2004) Particle-based fluid simulation on gpu. In: ACM workshop on general-purpose computing on graphics processors, pp 204–211

    Google Scholar 

  • Brochu T., Batty C., Bridson R. (2010) Matching fluid simulation elements to surface geometry and topology. ACM Trans Graph 29:1–9 (Proceedings of SIG-GRAPH)

    Google Scholar 

  • Carlson M, Mucha PJ, Turk G (2004) Rigid fluid: animating the interplay between rigid bodies and fluid. ACM Trans Graph 23(3):377–384 (Proceedings of SIGGRAPH)

    Google Scholar 

  • Crane K, Llamas I, Tariq S (2007) Real-time simulation and rendering of 3D fluids. In: Nguyen H (ed) GPU gem 3. Addison Wesley, New York

    Google Scholar 

  • Enright D, Marschner S, Fedkiw R (2002) Animation and rendering of complex water surfaces. ACM Trans Grap 21:736–744 (Procedings of SIGGRAPH)

    Google Scholar 

  • Geiss R (2007) Generating complex procedural terrains using the gpu. In: Nguyen H (ed) GPU gem 3, Addison-Wesley, Reading, pp 7–37

    Google Scholar 

  • Harada T, Koshizuka S, Kawaguchi Y (2007) Smoothed particle hydrodynamics on GPUs. In Proc Comput Graph Intl 63–70

    Google Scholar 

  • Li W, Fan Z, Wei X, Kaufman A (2003) Gpu-based flow simulation with complex boundaries. Technical Report, 031105, Computer Science Department, SUNY at Stony Brook

    Google Scholar 

  • Lin N (2007) Special effect with Geforce 8 series hardware. Game Developer Conference Shanghai

    Google Scholar 

  • Liu Y, Liu X, Wu E (2004) Real-time 3d fluid simulation on gpu with complex obstacles. In: Proceedings of the 12th Pacific conference computer graphics and applications, pp 247–256

    Google Scholar 

  • Losasso F, Shinar T, Selle A, Fedkiw R (2006) Multiple interacting liquids. ACM Trans Graph 25(3):812–819 (Proceedings of SIGGRAPH)

    Google Scholar 

  • Losasso F, Talton J, Kwatra N, Fedkiw R (2008) Two-way coupled sph and particle level set fluid simulation. IEEE Trans Vis Comput Graph 14(4):797–804

    Article  Google Scholar 

  • Müller M, Charypar D, Gross M, (2003) Particle-based fluid simulation for interactive applications. In: SCA ’03 Proceedings of the (2003) ACM SIGGRAPH/Eurographics symposium on computer animation (Aire-la-Ville. Switzerland), Eurographics Association, pp 154–159

    Google Scholar 

  • Premoze S, Tasdizen T, Bigler J, Lefohn A, Whitaker R (2003) Particle-based simulation of fluids. Comput Graph Forum 22(3):401–410

    Article  Google Scholar 

  • Reeves WT (1983) Particle systems\({\vert }\)a technique for modeling a class of fuzzy objects. ACM Trans Graph 2(2):91–108

    Article  Google Scholar 

  • Wang H, Mucha PJ, Turk G (2005) Water drops on surfaces. ACM Trans Graph 24(3):921–929

    Article  Google Scholar 

  • Wojtan C, ThÄurey N, Gross M, Turk G (2010) Physics-inspired topology changes for thin fluid features. ACM Trans Graph 1–8 (Proceedings of SIGGRAPH)

    Google Scholar 

  • Zhao Y (2008) Lattice Boltzmann based PDE solver on the GPU. Visual Comput 24(5):323–333

    Google Scholar 

  • Zhang Y, Solenthaler B, Pajarola R (2008) Adaptive sampling and rendering of fluids on the gpu. In: Volume and point-based graph, 2008 pp 137–146

    Google Scholar 

Download references

Acknowledgments

This work is supported by the National High-Tech Research and Development Plan of China under Grant Nos. 2006AA01A114, 2007AA120502, and Shenzhen Innovation Technology Program under Grant No. SY200806300211A.

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Appendix

Appendix

figure a1
figure a2
figure a3

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Zhang, G., Wen, G., Feng, S. (2013). Two-Way Coupled Sprays and Liquid Surface: A GPU-Based Multi-Scale Fluid Animation Method. In: Yuen, D., Wang, L., Chi, X., Johnsson, L., Ge, W., Shi, Y. (eds) GPU Solutions to Multi-scale Problems in Science and Engineering. Lecture Notes in Earth System Sciences. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-16405-7_11

Download citation

Publish with us

Policies and ethics