HydroGeoSphere/Saving and Retrieving Element Zone Numbers

From Wikibooks, open books for an open world
Jump to navigation Jump to search

The following commands can be used to store and retrieve porous media element zone numbers.

Write zones to file[edit | edit source]

  1. zone_file Name of the file to which element zone numbers will be written.
• • •

Read zones from file[edit | edit source]

  1. zone_file Name of the file from which zone information will be read.
• • •

For example, if you want elements 1, 5, 9, and 44 to have the zone number 2 and element 8 to have the zone number 3, the file would contain:

    1  2
    5  2
    9  2
   44  2
    8  3