numerical simulation of fluids nusif
play

Numerical Simulation of Fluids NuSiF Free Boundary Value Problems - PowerPoint PPT Presentation

Description and motivation Theory of operation Our implementation Visualization techniques Numerical Simulation of Fluids NuSiF Free Boundary Value Problems Daniel Brinkers, Florian Forster, Tobias Preclik Friedrich Alexander


  1. Description and motivation Theory of operation Our implementation Visualization techniques Numerical Simulation of Fluids – NuSiF „Free Boundary Value Problems“ Daniel Brinkers, Florian Forster, Tobias Preclik Friedrich Alexander Universität Erlangen-Nürnberg Numerical Simulation of Fluids, 2006-07-24 http://faui2k3.org/svn/nusif/ Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  2. Description and motivation Theory of operation Our implementation Visualization techniques Outline Description and motivation Theory of operation Our implementation Visualization techniques Image based flow visualization Raytracing Polygon extraction Povray and „blob“s Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  3. Description and motivation Theory of operation Our implementation Visualization techniques What are „Free Boundary Value Problems“ ◮ Domain Ω has a shared boundary with another fluid ◮ This domain may change in time ◮ Many applications fall into this category Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  4. Description and motivation Theory of operation Our implementation Visualization techniques Illustration of a „Free Boundary“ Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  5. Description and motivation Theory of operation Our implementation Visualization techniques Outline Description and motivation Theory of operation Our implementation Visualization techniques Image based flow visualization Raytracing Polygon extraction Povray and „blob“s Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  6. Description and motivation Theory of operation Our implementation Visualization techniques Devision of the domain ◮ The domain G is devided into three parts: ◮ The time-dependend fluid domain Ω t ◮ The obstacle domain H ◮ The empty domain G\{H ∪ Ω t } ◮ At each timestep, compute the shape of the fluid domain Ω t ◮ Cells which touch the empty domain are considered to be „Surface Cells“ and are handled separately Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  7. Description and motivation Theory of operation Our implementation Visualization techniques Tracing the domain ◮ Need to track the shape of the fluid domain Ω t . ◮ Done using (many!) particles: About 3 × 3 or 4 × 4 particles per cell. ◮ The only extension to the basic solver is the handling of the surface cells Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  8. Description and motivation Theory of operation Our implementation Visualization techniques Cells with one empty neighbor ◮ Velocity on the free boundary calculated using the continuity equation, e.g. on a north boundary: v i , j = v i , j − 1 − δ x δ y ( u i , j − u i − 1 , j ) ◮ Pressure approximated by: v i , j − v i , j − 1 p i , j = 2 Re δ x ◮ Many values in the empty domain have to be calculated, too Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  9. Description and motivation Theory of operation Our implementation Visualization techniques Other cell combinations ◮ Corner-cells can be handled okay ◮ Other cells cannot satisfy the boundary conditions ◮ Such cells are only moved by the „body forces“, e.g. gravity Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  10. Description and motivation Theory of operation Our implementation Visualization techniques Outline Description and motivation Theory of operation Our implementation Visualization techniques Image based flow visualization Raytracing Polygon extraction Povray and „blob“s Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  11. Description and motivation Theory of operation Our implementation Visualization techniques Working parts ◮ The „easy“ surface cells are all calculated correctly, so in general it works ◮ Arbitrary geometries can be handled Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  12. Description and motivation Theory of operation Our implementation Visualization techniques Current/unsolved problems ◮ „Flying-Super-Cells“ 1 : Sometimes a NES- and a NSW-cell fly horizontally through the domain ◮ Visualization troublesome 1 I like that term ;) Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  13. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s Outline Description and motivation Theory of operation Our implementation Visualization techniques Image based flow visualization Raytracing Polygon extraction Povray and „blob“s Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  14. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s LIC (line integral convolution) ◮ Visualize vector field ◮ Use random texture (white noise) ◮ Sum up colors along streamlines ◮ High correlation between two neighbour pixels on a streamline ◮ Downside: Many calculations Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  15. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s Ibfv (image based flow visualization) ◮ Uses graphic hardware (OpenGL) ◮ Random texture is drawn on a plane ◮ Movement is done by shaping the plane ◮ New random texture is blended in every frame ◮ Result is animated ◮ http://www.win.tue.nl/~vanwijk/ibfv/ Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  16. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s freesurface flows ◮ Obstacle cells are colored black ◮ Empty cells are colored white ◮ Interior cells are moved and blended ◮ Surface cells are just moved Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  17. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s Illustration of LIC/IBFV Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  18. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s Surface Reconstruction ◮ Iterate along fluid boundaries ◮ Use fluid particles as polygon vertices ◮ Eliminate degenerations and tiny polygons Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  19. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s Triangle Mesh Extraction ◮ Extrude fluid polygons ◮ Triangulate fluid polygons for front and back face ◮ Export as a povray scene description Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  20. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s Final Rendering ◮ Raytrace each frame ◮ Sleep a night or two ◮ Wait staring at screen ◮ Encode video Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

  21. Description and motivation Image based flow visualization Theory of operation Raytracing Our implementation Polygon extraction Visualization techniques Povray and „blob“s Using Povray and „blob“s ◮ Add one sphere per fluid cell and let Povray 2 merge the „drops“ ◮ Very easy to implement ◮ Fast ◮ Quite coarse 2 http://www.povray.org/ Daniel Brinkers, Florian Forster, Tobias Preclik Numerical Simulation of Fluids – NuSiF

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend