From: Luc Barthelet on
I am interesting in modeling the flow of air or water over a terrain
with varying elevation. (the resolution is either 128x128 or 256x256).
I have a few known values of the speed in some of the cells, and I am
interested in extrapolating a solution that takes the terrain into account.
For the wind, I assume a layer that behaves like a ceiling. (and of
course the same for the water).

I believe I need a solution that respects the Navier-Stokes equations
and also mass conservation.
An example similar to what I am trying to achieve can be found at
http://sfports.wr.usgs.gov/cgi-bin/wind/windbin.cgi
Has anyone implemented anything like this in Mathematica before?

I looked around and also asked directly some of the Authors of
Demonstration, but no luck yet. I'd rather not reinvent the wheel.

Thank you in advance,

Luc



From: Oliver Ruebenkoenig on
On Thu, 20 May 2010, Luc Barthelet wrote:

> I am interesting in modeling the flow of air or water over a terrain
> with varying elevation. (the resolution is either 128x128 or 256x256).
> I have a few known values of the speed in some of the cells, and I am
> interested in extrapolating a solution that takes the terrain into account.
> For the wind, I assume a layer that behaves like a ceiling. (and of
> course the same for the water).
>
> I believe I need a solution that respects the Navier-Stokes equations
> and also mass conservation.
> An example similar to what I am trying to achieve can be found at
> http://sfports.wr.usgs.gov/cgi-bin/wind/windbin.cgi
> Has anyone implemented anything like this in Mathematica before?

I have implemented something vaguely like this;

There is finite difference code and a finite element code for the
transient Navier-Stokes equation.

http://portal.uni-freiburg.de/imteksimulation/downloads/ims

Both would need serious modification to get what you are looking for but
both solve the NS-equation.

Oliver

>
> I looked around and also asked directly some of the Authors of
> Demonstration, but no luck yet. I'd rather not reinvent the wheel.
>
> Thank you in advance,
>
> Luc
>
>
>
>

From: J. Clarke on
On 5/20/2010 6:39 AM, Luc Barthelet wrote:
> I am interesting in modeling the flow of air or water over a terrain
> with varying elevation. (the resolution is either 128x128 or 256x256).
> I have a few known values of the speed in some of the cells, and I am
> interested in extrapolating a solution that takes the terrain into account.
> For the wind, I assume a layer that behaves like a ceiling. (and of
> course the same for the water).
>
> I believe I need a solution that respects the Navier-Stokes equations
> and also mass conservation.
> An example similar to what I am trying to achieve can be found at
> http://sfports.wr.usgs.gov/cgi-bin/wind/windbin.cgi
> Has anyone implemented anything like this in Mathematica before?
>
> I looked around and also asked directly some of the Authors of
> Demonstration, but no luck yet. I'd rather not reinvent the wheel.

If you don't have your heart set on doing it with Mathematica, you might
want to take a look at <http://www.cfd-online.com/Links/soft.html>.

Did you check the references on the site you linked? There are several
papers cited.