In this tutorial demonstration of Geometry sectioning is presented. Geometry sectioning in ParaGeo is an offline utility that allows to load a 3D or 2D geometry and output a geometry file with a specified slice or 1D path. In addition a data file is automatically generated with automatic conversion of defined geometry sets, stratigraphy and groups from 3D to 2D. The 3D graben geometry shown in Geost_002 will be used to demonstrate the sectioning.
In the following example a plane sectioning along the plane ZX is performed:
Data File |
|
* Util_read_geometry ! --------------------------------- File_name "Geomsect_001.geo" Output_level 2
* Geometry_section_surface ! --------------------------------- Section_type "ZX_plane" Reference_location IDM=1 1000.0 Output_level 3 Groups IDM=4 "formation0" "formation1" "formation2" "formation3"
* Util_write_geometry ! ---------------------------------
* Util_write_geom_plotfile ! ---------------------------------
|
1The geometry file "Geomsect_001.geo" is loaded using the Util_read_geometry data structure. 2Geometry_section_surface data structure is invoked to section the loaded geometry. 3The section type is set to ZX_plane. 4The reference location is set to 1000.0 (Y = 1000 m). 5All groups are selected (all groups will be exported to the output geometry). 6Util_writte_geometry is used to export the sectioned geometry as a .geo file (default). 7Util_write_geom_plotfile is used to export a plot file of the sectioned geometry for visualization in Paraview. |
Results
The result files for the project are in directory: GeomSect_001\Case1\Results. Note that the sectioned 2D geometry is oriented within plane XY as 2D problems in ParaGeo must be oriented in that plane.
Sectioning results for Case1. Initial geometry with sectioning plane in red (left). Sectioned geometry (right)
Generated data file
A data file containing converted geometry sets, stratigraphy and groups is generated after sectioning. This data must be defined in the model from which extraction is performed in order to be converted. The data file is named "Geomsect_001_case1_gen.dat" and an example of some of the converted data is shown bellow.
|