< HydroGeoSphere

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

Write zones to file

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


Read zones from file

  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


This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.