|
1 |
| -[](https://github.com/ambv/black) |
2 |
| - |
3 |
| -Welcome to ogs5py |
4 |
| -================= |
5 |
| - |
6 |
| -Purpose |
7 |
| -------- |
8 |
| -ogs5py is A python-API for the OpenGeoSys 5 scientific modeling package. |
9 |
| - |
10 |
| - |
11 |
| -Installation |
12 |
| ------------- |
13 |
| -You can install the latest version with the following command: |
14 |
| - |
15 |
| - pip install https://github.com/GeoStat-Framework/ogs5py/archive/master.zip |
| 1 | +# Welcome to ogs5py |
16 | 2 |
|
| 3 | +[](https://github.com/ambv/black) |
17 | 4 |
|
18 |
| -Contents |
19 |
| --------- |
20 |
| -With ogs5py you can setup, control and start an OGS5 model within python. |
| 5 | +<p align="center"> |
| 6 | +<img src="https://raw.githubusercontent.com/GeoStat-Framework/ogs5py/master/docs/source/pics/OGS.png" alt="ogs5py-LOGO" width="251px"/> |
| 7 | +</p> |
21 | 8 |
|
22 |
| -It comes along with a set of handy readers for almost all output formats: |
| 9 | +## Purpose |
23 | 10 |
|
24 |
| -* VTK Domain output |
| 11 | +ogs5py is A python-API for the [OpenGeoSys 5][ogs5_link] scientific modeling package. |
25 | 12 |
|
26 |
| - ogs5py.reader.readvtk |
27 | 13 |
|
28 |
| -* PVD Domain output |
| 14 | +## Installation |
29 | 15 |
|
30 |
| - ogs5py.reader.readpvd |
| 16 | +You can install the latest version with the following command: |
31 | 17 |
|
32 |
| -* TECPLOT point output |
| 18 | + pip install https://github.com/GeoStat-Framework/ogs5py/archive/master.zip |
33 | 19 |
|
34 |
| - ogs5py.reader.readtec_point |
35 | 20 |
|
36 |
| -* TECPLOT polyline output |
| 21 | +## Documentation for ogs5py |
37 | 22 |
|
38 |
| - ogs5py.reader.readtec_polyline |
| 23 | +You can find the documentation under (...will follow soon...) |
39 | 24 |
|
40 | 25 |
|
41 |
| -Example |
42 |
| -------- |
| 26 | +### Tutorials and Examples |
43 | 27 |
|
44 |
| -In the following a simple transient pumping test is simulated on a radial symmetric mesh. The point output at the observation well is plotted afterwards. |
| 28 | +In the following a simple transient pumping test is simulated on a radial symmetric mesh. |
| 29 | +The point output at the observation well is plotted afterwards. |
45 | 30 |
|
46 | 31 | ```python
|
47 | 32 | from ogs5py import OGS
|
@@ -127,12 +112,58 @@ plt.plot(time, head)
|
127 | 112 | plt.show()
|
128 | 113 | ```
|
129 | 114 |
|
130 |
| -Requirements |
131 |
| ------------- |
132 |
| -The ogs5 executable needs to be in your sys-path. Otherwise you need to specify the path to the executable within the run command: |
| 115 | +<p align="center"> |
| 116 | +<img src="https://raw.githubusercontent.com/GeoStat-Framework/ogs5py/master/docs/source/01_pump_test_drawdown.png" alt="Drawdown" width="600px"/> |
| 117 | +</p> |
| 118 | + |
| 119 | + |
| 120 | +### Reader |
| 121 | + |
| 122 | +It comes along with a set of handy readers for almost all output formats: |
| 123 | + |
| 124 | +* VTK Domain output |
| 125 | + |
| 126 | + ogs5py.reader.readvtk |
| 127 | + |
| 128 | +* PVD Domain output |
| 129 | + |
| 130 | + ogs5py.reader.readpvd |
| 131 | + |
| 132 | +* TECPLOT point output |
| 133 | + |
| 134 | + ogs5py.reader.readtec_point |
| 135 | + |
| 136 | +* TECPLOT polyline output |
| 137 | + |
| 138 | + ogs5py.reader.readtec_polyline |
| 139 | + |
| 140 | + |
| 141 | +### OGS5 executable |
| 142 | + |
| 143 | +The OGS5 executable needs to be in your sys-path under ``ogs``. |
| 144 | +Otherwise you need to specify the path to the executable within the run command: |
133 | 145 |
|
134 | 146 | ogs.run_model(ogs_root="path/to/ogs")
|
135 | 147 |
|
136 |
| -Created April 2018, Copyright Sebastian Mueller 2018 |
137 | 148 |
|
138 |
| -(inspired by Falk Hesse and Miao Jing) |
| 149 | +## Requirements: |
| 150 | + |
| 151 | +- [NumPy >= 1.13.0](https://www.numpy.org) |
| 152 | +- [Pandas >= 0.23.0](https://pandas.pydata.org/) |
| 153 | +- [whichcraft](https://github.com/pydanny/whichcraft) |
| 154 | +- [meshio](https://github.com/nschloe/meshio) |
| 155 | +- [lxml](https://github.com/lxml/lxml) |
| 156 | +- [vtk](https://vtk.org/) |
| 157 | +- [pexpect](https://github.com/pexpect/pexpect) |
| 158 | + |
| 159 | +## Contact |
| 160 | + |
| 161 | +You can contact us via <[email protected]>. |
| 162 | + |
| 163 | + |
| 164 | +## License |
| 165 | + |
| 166 | +[GPL][gpl_link] © 2018-2019 (inspired by Falk Hesse and Miao Jing) |
| 167 | + |
| 168 | +[gpl_link]: https://github.com/GeoStat-Framework/ogs5py/blob/master/LICENSE |
| 169 | +[ogs5_link]: https://www.opengeosys.org/ogs-5/ |
0 commit comments