Presentation is loading. Please wait.

Presentation is loading. Please wait.

Stable But Nondissipative Water 2007. 7. 2 OH-YOUNG SONG HYUNCHEOL SHIN HYEONG-SEOK KO.

Similar presentations


Presentation on theme: "Stable But Nondissipative Water 2007. 7. 2 OH-YOUNG SONG HYUNCHEOL SHIN HYEONG-SEOK KO."— Presentation transcript:

1 Stable But Nondissipative Water 2007. 7. 2 OH-YOUNG SONG HYUNCHEOL SHIN HYEONG-SEOK KO

2 ◇ This work is motivated by the “Stable fluids” ◇ CIP Advection reduce the numerical dissipation and diffusion Abstract

3 ◇ Convert dissipative cell into droplets or bubbles ◇ The simulated water does not unnecessarily lose mass ◇ Its motion is not damped an unphysical extent ◇ The proposed method is stable and run fast ◇ Two-dimensional simulation runs in real-time Abstract

4 ◇ Visual effects in the animation of water ◇ “Stable fluids” allows a large time step to be used without causing instabilities ◇ But this method is known to suffer from large amounts of numerical dissipation ◇ which results in loss of mass ◇ numerical diffusion, which dampens the fluid motion Introduction

5 ◇ CIP : Constrained Interpolation Profile ◇ The proposed method retains the speed and stability ◇ Obtain nondissipative water ◇ Preventing dissipation of small-scale features (bubble, droplet) ◇ Multiphase dynamic and water-air interaction Introduction

6 ◇ Height-field using 2D Navier-Stokes Equation Solver ◇ “Shallow water” Kass and Miller[1990] ◇ “Water-object interactions” Chen and Lobo[1995] ◇ “Splashing liquids” O’Brien and Hodgins[1995] Previous Work (2D)

7 ◇ 3D Navier-Stokes equations - Foster and Metaxas [1997b] - Stam [1999] - Fedkiw et al. [2001] (Vorticity confinement) ◇ Level set method - Foster and Fedkiw [2001] ◇ Particle level set methods - Enright et al. [2002] - Carlson et al. [2004] - Goktekin et al. [2004] - Losasso et al. [2004] Previous Work (3D)

8 ◇ Particle-based methods - Miller and Pearce [1989] - Terzopoulos et al. [1989] - Stam and Fiume [1995] (SPH) - Premoze et al. [2003] (MPS) ◇ CIP method - Takahashi et al. [2003] - Although the CIP lessened the degree of the dissipation, loss of mass was still noticeable when large time steps were used Previous Work (Others)

9 ◇ The Multiphase Navier-Stokes Equation ◇ The level set method show to be a robust method for capturing topological changes of water surfaces ◇ The surface curvature can be calculated from the level set values Formulation and Overview

10 ◇ Phi is defined to be positive for water, and negative for air ◇ The sign of phi determines the density and viscosity ◇ The surface of water can be obtained by tracking the locations for which phi = 0 ◇ The pressure and level set values at the cell center ◇ The velocity at the center of each cell face Formulation and Overview

11 ◇ Advect the level set : The phi is advected according to Equation (3) ◇ which causes the density and viscosity fields appearing in Equation (2) to be updated ◇ Update the velocity : Equation (2) is solved for u using [Stam 1999] ◇ The smim-Lagrangian method -> apply the forces -> add the effect of the viscous term -> project the velocity field ◇ Droplets/bubbles are identified and simulated using the particle dynamics until they merge into the body of water/air Formulation and Overview

12 ◇ This method make several modifications to the previous semi- Lagrangian scheme to reduce the numerical dissipation and diffusion ◇ An anti-diffusive technique called the CIP method is proposed by Yabe and Aoki[1991] and Yabe et al.[2001] ◇ The CIP method is adopted when solving Equation (3) ◇ Resulting in a reduction of mass dissipation ◇ Adoption of the CIP method allows us to simulate phenomena such as turbulent flows or swirls with reasonable visual quality ◇ The key idea of the CIP method is the spatial derivatives at those points for constructing the profile inside the grid cell CIP-BASED FLUID SIMULATOR

13 CIP Advection

14 ◇ We differentiate Equation (3) with respect to ξ CIP Advection

15 ◇ In case where φi−1, φi, and φi+1 aligned ◇ Spline techniques that do not utilize the derivative information interpret φ as being straight ◇ Because CIP utilizes the spatial derivatives of the original equation, it results in more accurate modeling of the real situation ◇ The CIP method allows us to use a fairly coarse grid CIP Advection

16 Force ◇ The gravitational force is expressed as ρg ◇ The surface tension is given by ◇ continuum surface force (CSF) by Brackbill et al.[1992]

17 ◇ u˜ is the intermediate velocity field obtained by processing Equation (2) Projection

18 ◇ When a large time step is used, it produces non-negligible mass error ◇ It cannot represent subcell-level features such as droplets and bubbles ◇ The proposed technique uses particles to complement the grid-based framework PREVENTION OF DISSIPATION IN SMALL-SCALE FEATURES

19 ◇ A potential problem arising from having such a small isolated region is that it may dissipate ◇ We transform the region into a droplet that undergoes Lagrangian motion Identification of Dissipative Cases

20 ◇ We determine the volume of the droplet based on the level set value ◇ Since the fluid content of the isolated region is already transformed into a droplet, we reduce the level set values of the region ◇ This not only reduces the mass dissipation but also enhances the visual details of the dynamically evolving water Identification of Dissipative Cases

21 ◇ A droplet/bubble experiences gravitational and drag forces, as well as pressure from the surrounding fluid, which cause the fragment to accelerate or decelerate ◇ m f is the mass, V f is the volume, a d is the drag coefficient, r is the radius, ˙x is the current velocity of the fragment, and is the interpolated velocity of the grid-based fluid measured at the center of the fragment ◇ If two or more fragments overlap during the dynamic simulation, they are merged into a single larger fragment Dynamic Simulation of Droplets/Bubbles

22 ◇ When the volume of a fragment becomes larger than twice the cell size, or when a fragment hits the surface or moves into the same phase fluid, we restitute the droplets/bubbles to the grid-based fluid model ◇ Sp = +1 for the case of a water droplet, -1 for the case of an bubble ◇ r p is the radius of the fragment, Xp is the center of the fragment, and Xi is the grid point being updated Restitution of Droplets / Bubbles

23 ◇ In the second case, we determine the new values for the cells covering the fragment by taking the inverse functions of Equations (14) and (15) ◇ Instantaneous hollows and ripples on the water surface created by restitution of Lagrangian droplets/bubbles Restitution of Droplets / Bubbles

24 ◇ In order to produce spalshes and bubbles of smaller scales, we can generate multiple droplets/bubbles of smaller size, instead of generating a single fragment of about the cell size ◇ We can model the geometrical shape of a fragment as an ellipsoid instead of a sphere, in accordance with the velocity ◇ In order to represent foam at the water surface, instead of removing bubbles immediately after they appear on the surface, we assign them a life time that is inversely proportional to the bubble size Variations for Visual Realism

25 ◇ Reinitialization of Level Set Values ◇ We need to introduce a procedure to rectify the level set to ensure that it maintains the signed distance property ◇ The procedure recovers the correct signed distance values within several fictitious time steps ADDITIONAL CONSIDERATIONS

26 ◇ When a rigid object is immersed in water, we mark the fluid cells whose centers are contained within the object ◇ The total external force F and moment T acting on the center of mass ◇ M is the mass of the object, s is the index ranging over the marked cells, ps is the fluid pressure of the cell, rs is the position of the cell Interaction with Rigid Objects

27 ◇ If the initial volume of water is V0, and the volume at each time step is Vi, we should compensate the water volume by deltaVi = V0 − Vi at the end of each simulation step, Vp is the total volume of the droplet ◇ Even though the procedure is not physically-based, it effectively prevents the error accumulation without producing any noticeable artifacts Discussion on Mass Errors

28 EXPERIMENTAL RESULTS ◇ Intel Pentium 4 3.2GHz processor, 1GB memory ◇ The 2D simulator based on a grid of resolution 64 * 48 ran at 30 ~60 fps, it is real-time

29 EXPERIMENTAL RESULTS ◇ A football was thrown into water with a large initial velocity, which realistically produces a violent splash of water

30 EXPERIMENTAL RESULTS ◇ The collision the water made with the wall created a highly dynamic water surface and plenty of droplets and bubbles

31 EXPERIMENTAL RESULTS ◇ An empty cup was drowned into water, which caused the air to be released and to produce a dynamic response with water

32 EXPERIMENTAL RESULTS ◇ The simulations were performed on a 80*80*80 grid ◇ A fixed time step of delta t = 1/30 second

33 CONCLUSION ◇ The problem of modeling a multiphase fluid was solved by combining the Navier-Stokes equations with the level set method ◇ The problem of preventing dissipation was solved by two means - Adoption of the CIP method - development of a particle-based method to prevent dissipation in small-scale features such as droplets/bubbles ◇ The simulated water does not unnecessarily lose volume or its motion is not damped to an unphysical extent


Download ppt "Stable But Nondissipative Water 2007. 7. 2 OH-YOUNG SONG HYUNCHEOL SHIN HYEONG-SEOK KO."

Similar presentations


Ads by Google