Hey guys and gals. I have come across a problem that I was wondering if anyone recognized.(adsbygoogle = window.adsbygoogle || []).push({});

I came across it while trying to find approximate solutions to a fluid-flow PDE, when the flow is high(The PDE is described in another one of my threads, but that is not important, I will describe the problem here), so I dont know if it is a problem that has been done before or if it has a name.

The problem is the following:

You have a solid surface given by z=b(x,y,t). At t=0, one of the surface's local minima, is filled up with water(it is contained to one "puddle"). At all times, the water surface is assumed to be of a constant height, h. The height is such that the volume of water is conserved. I.e. [itex] \int_{b(x,y,t)}^{h} A(z) dz = const [/itex], The area, A, is an area that is enclosed by z=b(x,y,t) and containing the said local minimum. As b(x,y,t) is changing over time, the water height will at some point get higher than a spill-point(This should be a saddle point in b(x,y,t) given t, i think). When this happens, the next step is to find the local minimum that you get to by taking the steepest decent route from the spillpoint. Then this minimum is filled up from the bottom, with the same rules as before(water height constant in each "puddle"), and with total water volume conserved. The process is repeated until the simulation time is over. One must also take into account the possibility of the "puddles" merging.

Anyone know of a similar problem or has any smart pointers on how to solve this? I need to make an algorithm for this, but its giving me a headache ^^

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Algorithm for water spill problem

Loading...

Similar Threads - Algorithm water spill | Date |
---|---|

B Non-algorithmic math | Oct 13, 2017 |

I Algorithm to create a composite score | Sep 12, 2017 |

I Arm reaching algorithm determine angles | Aug 14, 2017 |

A Optimization constraints formulation for GA | Jun 28, 2017 |

Measuring pressure of water tank | May 11, 2013 |

**Physics Forums - The Fusion of Science and Community**