*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: xgas | Section: 1 | Source: Digital UNIX | File: xgas.1X.gz
xgas(1X) xgas(1X) NAME xgas - animated simulation of an ideal gas SYNOPSIS xgas [-option...] OPTIONS 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 xgas is a physical simulation of an ideal gas in a heated box. Gas mol- ecules move around the box with velocities dependent on their tempera- ture. 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 po- sition. Use mouse button 2 to create the maximum number of molecules at the cursor position. RESOURCES 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 colli- sion, a molecule bounces elastically (angle of incidence = angle of re- flection). A component of randomness is added to this angle. Random- Bounce 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 equi- librium 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 When the chamber is resized, molecules should be rearranged appropri- ately. Instead, the molecule arrays are reinitialized. SEE ALSO X(1X), xwd(1X) AUTHOR Larry Medwin xgas(1X)

Navigation Options