IMMISCIBLE LATTICE GAS


Copyright (C) 1997 D.H. Rothman

Covered by the GNU General Public License, see the file ../README.

a) File information:

   The file parameters_ilg.h contains user-adjustable parameters. 

   The file constants_ilg.h contains numerical constants and definitions.

   The file macros_ilg.h contains macros used in the code and some further
   definitions.

   The file include_ilg.h is self-explanatory.

   C routines:

	ilg.c is the main program.

     	The files init_angle.c, init_colorsum.c, init_conf_class.c,
        and init_tie_list.c prepare tables.

        init_lat_ilg.c initializes the lattice.
        The current implementation simply starts with 50% red particles,
        50% blue particles, and an average particle density of 70%.

        update_lat_ilg.c is the basic updating scheme of propagation and
        collision (performed by table look up).

        output_ilg.c creates an output file with one byte of information for
        each lattice site every DT time steps.
  
    	test_cons_ilg.c produces a diagnostic message with information
        concerning particle conservation and momentum conservation.

b) Compilation:

   You may want to read the instructions in the file INSTALL above
   this directory. Otherwise type 

   	make

   to create the executable file ilg.

c) Running the code:

   Run the program by typing

	ilg

   A file called "history" contains a record of some of the parameters
   you have chosen.  A file called ilgout contains the output produced
   by out.c.  

   The current version starts as a random mixture and illustrates dynamical
   phase separation with periodic boundary conditions and no solid sites.
   Solid sites may be added in the usual way as illustrated in the fhp
   codes.  Wettability may be created by assigning a color density
   (see update_lat_ilg.c) to solid sites.


d) Input parameters:

   See first lines of parameters_ilg.h.  You can change the following lines
   as you see fit:

#define  NX 256
#define  NY 256
#define  TMAX 1000
#define  TPRINT 10
#define  DENSITY 0.70
#define  RED_PROB 0.5


