NAME
grid
SYNOPSIS
grid nx dlt ntmax [-s ntstart]
DESCRIPTION
grid creates the computational domain for the fluid dynamics, with and , 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.
- nx - the number of grid points in the x direction is 2nx
- dlt - the timestep
- ntmax - total timesteps to be taken
- -s ntstart - ntstart * dlt is the initial time (default=0).
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.