HydroGeoSphere/Elevation Instructions

These instructions are used to define 3-D mesh base elevations and new layer top elevations.

Elevation constant

edit
  1. elev Elevation value [L].
• • •

Elevation from gms file

edit
  1. basefile Name of the data file containing the elevation values for each node in the 2-D grid. This is a string variable. The file should be formatted as outlined in Section F.2.
• • •

Elevation from gb file

edit
  1. basefile Name of the data file containing the base elevation values for each node in the 2-D grid. This is a string variable. The file should be formatted as outlined in Section G.2.
• • •

Elevation from raster file

edit
  1. rasterfile Name of the raster file containing the base elevation values. This is a string variable. The file should be formatted as outlined in Section H.
• • •

Elevation from bilinear function in xy

edit
  1. xfrom, xto, yfrom, yto x- and y-ranges.
  2. a1,a2,a3,a4,a5 Constants for bilinear function.

For nodes falling within the given x- and y-range, the z-coordinate is computed according to the following function:

 
• • •

Elevation from sine function in xy

edit
  1. xfrom, xto, yfrom, yto x and y ranges.
  2. zz0 Elevation at xfrom, yfrom.
  3. num_sw_x,amplitude_x,slope_x Number of sine wave cycles, sine wave amplitude and surface slope in the x−direction.
  4. num_sw_y,amplitude_y,slope_y As above but in the y−direction.

For nodes falling within the given x- and y-range, the z-coordinate is computed according to the following function:

 

where:

 
 
• • •

The number of cycles of the sine wave can be a fraction and the sine function rises from a value of   at   as x- and y-values increase. Where the peaks coincide, the maximum elevation is the sum of  .

Elevation from cosine function in xy

edit

As above but uses the cosine function instead of the sine function.

• • •

Elevation from xz pairs

edit
  1. xval, zval xz-pair 1.
  2. xval, zval xz-pair 2.
  3. ...etc...
  4. xval, zval xz-pair n.
  5. end Signals end of list.

Listed xz-coordinate pairs are read until an End instruction is encountered. They should be given in order from smallest to largest x. For each node in the 2-D grid, the x-coordinate of the node is used to determine its position in the list, and a z-coordinate is then interpolated from the neighbouring xz-pairs.

• • •