See:
Description
Class Summary | |
---|---|
Background | The Background class draws the background for a fluid mechanics simulation. |
FluidContainer | FluidContainer is the shared superclass of both Tank and Pipe . |
Pipe | A Pipe carries water between two Tank s, referred to as its
inlet and outlet . |
Tank | A Tank represents a container that can fill up with liquid. |
This package was created by Russell Zahniser (russell@zahniser.net) as a lab activity demonstrating the advantages of an object-oriented programming approach. The package provides objects that describe the state of a fluid dynamical system; in the lab, students use EventTimer
s to drive a simulation using these objects. You can learn more, or find similar labs, at www.zahniser.net/~russell/computer.
This package requires a modified version of the ObjectDraw library, also available from the above website.