Skip to content
Snippets Groups Projects
Commit 825bbc0f authored by Tobias Meisel's avatar Tobias Meisel
Browse files

Merge branch 'update_release_notes' into 'main'

Update_Release_notes

See merge request !98
parents 2378eba6 0d435591
No related branches found
No related tags found
1 merge request!98Update_Release_notes
Pipeline #20520 passed
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
## Library ## Library
[`studies`](../user-guide/studies.md) a new package that provides utility functions to compose studies from multiple simulation [`studies`](../user-guide/studies.md) a new package that provides utility functions to compose studies from multiple simulation
runs. runs. For now it contains functions to perform convergence studies on simulation results (with increasing spatial/temporal discretization) for specific timesteps or over all timesteps.
Now it contains functions to perform convergence studies.
[`msh2vtu`](../user-guide/msh2vtu.md) got a cleaner python interface without the need to run argparse in between.
[`feflowlib`](../user-guide/feflowlib.md) has been updated with new functionalities. [`feflowlib`](../user-guide/feflowlib.md) has been updated with new functionalities.
In particular, material properties can now be taken into account when converting and creating OGS models. In particular, material properties can now be taken into account when converting and creating OGS models.
......
...@@ -31,24 +31,20 @@ prog: msh2vtu ...@@ -31,24 +31,20 @@ prog: msh2vtu
In addition, it may be used as Python module: In addition, it may be used as Python module:
```python ```python
from ogstools.msh2vtu import run # to run mesh conversion from ogstools.msh2vtu import msh2vtu
import argparse
parser = argparse.ArgumentParser() msh2vtu(
input_filename="my_mesh.msh",
# generate a mesh, e.g. my_mesh.msh with Gmsh output_path="",
output_prefix="my_meshname",
args = argparse.Namespace(
filename="my_mesh.msh",
output="",
dim=0, dim=0,
delz=False, delz=False,
swapxy=False, swapxy=False,
rdcd=True, rdcd=True,
ogs=True, ogs=True,
ascii=False, ascii=False,
log_level="DEBUG",
) )
run(args)
``` ```
______________________________________________________________________ ______________________________________________________________________
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment