POV-Ray : Newsgroups : povray.binaries.images : Potential flow : Re: Potential flow Server Time
8 Aug 2024 22:09:44 EDT (-0400)
  Re: Potential flow  
From: Przemek Loesch
Date: 25 Apr 2005 17:55:01
Message: <web.426d6723b9f405f0b0aac12c0@news.povray.org>
"triple_r" <nomail@nomail> wrote:
> Looks good.  OpenGL?  Probably something like Newton's sin^2 theory for lift
> applied to cloths?

Yes it's OpenGL. Export to POVRay is planned but it is not ready yet. The
"physical" solution is very ugly. Forces on the panels are calculated by
dotproducts of normal vectors and wind vectors. Then wind direction is
corrected for every panel by considering influence of the neigbours. On the
other hand panels are represented by point masses connected by springs. The
last step of simulation is a kind of inverse kinematics step to examine if
the points are not too far from each other and to make the sail less
rubber. I have many empirical coefficients and this is far from being pure
physical solution.

> The kicker is that analytic solutions like this
> only work for steady, inviscid, irrotational flow, so it wouldn't really do
> anything interesting.  Probably wouldn't be real-time either.

It's a pity.

> I've been working on a simple fluid simulation over the network using the
> school's c++ compiler, so I do have some code I could post with a little
> adjustment - I need to put in a better, MUCH more stable method for one
> crucial part though.  The best part is that it spits out sreamlines and
> particles in animated ASCII.  I have homework-type stuff to do tonight, but
> I'll have some time tomorrow to throw something together.  Sorry for more
> delay.

Take it easy Ricky. I'm just always curious to see how physical equations
are implemented in code. There is no hurry.

Przemek


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.