HydroGeoSphere/Simple Grids

Simple grids can be generated for rectangular domains which are adequate for many problems. They can have uniform or variable element sizes and can be made of hexahedral block or triangular prismatic elements. Each element in the grid is given a default zone number of 1.

Generate uniform blocks

 * 1) xl, nbx Domain length and number of blocks in the x-direction
 * 2) yl, nby Domain length and number of blocks in the y-direction
 * 3) zl, nbz Domain length and number of blocks in the z-direction

Generates a grid for a rectangular domain made up of uniform blocks. In this case, the grid is formed by subdividing the domain in the x-direction into nbx blocks, each of length xl/nbx. The domain is subdivided in a similar fashion in the y- and z-directions, using the other input parameters.
 * &bull; &bull; &bull;

Generate uniform prisms
Generates a grid for a rectangular domain made up of uniform prisms. Requires identical input to the routine Generate uniform blocks described above. In this case though, instead of generating block elements, this instruction generates prism elements by subdividing each block into two prism elements.
 * &bull; &bull; &bull;

Generate variable blocks

 * 1) nx Number of nodes in the x-direction
 * 2) xi(i),i=1,nx x-coordinates of the nx nodes.
 * 3) ny Number of nodes in the y-direction
 * 4) yi(i),i=1,ny y-coordinates of the ny nodes.
 * 5) nz Number of nodes in the z-direction
 * 6) zi(i),i=1,nz z-coordinates of the nz nodes.

Generates a grid for a rectangular domain made up of variably-sized blocks. It is almost identical to the generate uniform blocks instruction except that instead of entering a domain length in each direction we enter a list of coordinates, which are each used to define the position of a plane of nodes along that axis. The structure xi(i),i=1,nx is called an implied do and means that you must supply nx values for the array xi. One or more values can be entered per line until the read statement is satisfied, then a new line should be started for the next read statement.
 * &bull; &bull; &bull;

Generate variable prisms
Generates a grid for a rectangular domain made up of variably-sized prisms. Requires identical input to the routine Generate variable blocks described above. In this case though, instead of generating block elements, this instruction generates prism elements by subdividing each block into two prism elements.
 * &bull; &bull; &bull;