The Java applet on this page simulates a compressible fluid in a two
dimensional domain, a so called lid-driven cavity.
Due to the boundary conditions no fluid can leave or enter this square
domain. The left, right, and lower wall impose a so called no-slip boundary
condition, i. e. the fluid's velocity is zero at these boundaries.
The upper boundary (the lid) is constantly imposing a tangential velocity
on the fluid, either to the left or to the right.
The code does not solve the Navier-Stokes equations to simulate a fluid,
but uses a rather new technique called Lattice-Boltzmann method, a specialized
form of a cellular automaton.
Help!
Sometimes the applet seems to start in "deaf mode": The buttons don't work
and even the choice widgets won't show the alternatives when you click them.
I'm no expert with Java, in fact that's my first project with Java. I don't
have a clue what the problem might be, so any hint would be greatly
appreciated. Thanks in advance!
If the applet does not respond to clicks after loading...
...you are experiencing the same problem that is haunting me for some time
now. Try the reload button of your browser. Sometimes I need up to ten tries
to make it work. If this does not help, close your browser and start all over
again. I know it is annoying and I'm trying to fix it.
BTW: The problem never occurs when I load the applet with the separate
appletviewer.
Requirements
You need at least Java 1.2 to run this applet. I would recommend a
Java implementation with a JIT (just in time) compiler, otherwise the
performance will be too bad to really enjoy it. Grab the latest version
from Sun.
Instructions are boring
That's in particular true for the instructions below. I would recommend to
play with the applet first and come back here if you encounter any problems or
questions.
But make sure that you click into the left panel to place some
obstacles. Have fun!
Instructions
Java and all Java-based marks are
trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and
other countries.
|