**NAME**

grid

**SYNOPSIS**

grid nx dlt ntmax [-s ntstart]

**DESCRIPTION**

gridcreates the computational domain for the fluid dynamics, with and , and specifies time parameters. The quantitynyis computed so that the step sizeh= (x_{max}-x_{min})/2^{nx}is the same in both directions.gridrequires three arguments.

nx- the number of grid points in thexdirection is 2^{nx}dlt- the timestepntmax- total timesteps to be takengridinterpretes one optional argument.

-s ntstart-ntstart * dltis the initial time (default=0).

**SEE ALSO**

domain

**EXAMPLE**

grid 7 0.000165 500

The computational grid contains 2^{7}= 128 nodes in thexdirection. The time step isdlt=0.000165 and 500 time steps are to be taken.