*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> xgas (1X)              
Title
Content
Arch
Section
 

xgas(1X)

Contents


NAME    [Toc]    [Back]

       xgas - animated simulation of an ideal gas

SYNOPSIS    [Toc]    [Back]

       xgas [-option...]

OPTIONS    [Toc]    [Back]

       This  is  a toolkit program; all the usual toolkit options
       are available.  Sets the  autoStart  resource.   Sets  the
       timeStepSize resource.  Sets the delay resource.  Sets the
       randomBounce resource.   Sets  the  equilibrium  resource.
       Sets  the  maxMolecules  resource.   Sets  the foreground.
       Sets the background.

DESCRIPTION    [Toc]    [Back]

       xgas is a physical simulation of an ideal gas in a  heated
       box.  Gas  molecules  move  around the box with velocities
       dependent on their temperature. A  chamber  consisting  of
       two  boxes  contains the gas molecules; the temperature of
       each box can be independently controlled by  a  scrollbar.
       When  gas molecules collide with the walls, their temperature
 approaches that of the box.

       Use mouse button 1 to create molecules one at  a  time  at
       the  cursor  position.   Use  mouse button 2 to create the
       maximum number of molecules at the cursor position.

RESOURCES    [Toc]    [Back]

       The xgas program uses the following  X  resources:  Starts
       the  simulation  automatically.   Good  for  canned demos.
       Specifies the simulated time duration in microseconds  for
       each cycle of computation.  Specifies the real time interval
 between timestep computations.  In  each  wall  collision,
 a molecule bounces elastically (angle of incidence =
       angle of reflection). A component of randomness  is  added
       to  this  angle.  RandomBounce varies from 0.0 (no randomness)
 to 1.0 (completely random angle of incidence).  During
  each  wall  collision,  a  molecule's  kinetic energy
       approaches that corresponding to the  temperature  of  the
       wall. If equilibrium is 1.0, the molecule reaches the wall
       temperature immediately. For values between 1.0  and  0.0,
       the  molecule  approaches the temperature of the wall more
       slowly.  Specifies the maximum number of molecules in  the
       simulation.

BUGS    [Toc]    [Back]

       When  the  chamber  is  resized, molecules should be rearranged
 appropriately.  Instead, the  molecule  arrays  are
       reinitialized.

SEE ALSO    [Toc]    [Back]

      
      
       X(1X), xwd(1X)

AUTHOR    [Toc]    [Back]

       Larry Medwin



                                                         xgas(1X)
[ Back ]
 Similar pages
Name OS Title
rain NetBSD animated raindrops display
rain OpenBSD animated raindrops display
sswsextr IRIX extract working set files from SpeedShop ideal-time experiment
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service