next up previous
Next: line Up: Reference guide: Previous: graph

grid

NAME

grid


SYNOPSIS

          grid nx dlt ntmax [-s ntstart]


DESCRIPTION

grid creates the computational domain for the fluid dynamics, $(\Omega_h)_{ij} = (x_{min} + ih,y_{min}+jh)$ with $i=1,2, \ldots, 2^{nx}$ and $j=1,2, \ldots, 2^{ny}$, and specifies time parameters. The quantity ny is computed so that the step size h = (xmax-xmin)/2nx is the same in both directions. grid requires three arguments. grid interpretes one optional argument.


SEE ALSO

domain


EXAMPLE

          grid 7 0.000165 500
The computational grid contains 27 = 128 nodes in the x direction. The time step is dlt =0.000165 and 500 time steps are to be taken.


David Eyre
6/19/1998