You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`openmc2dolfinx` is a tool for converting OpenMC output `.vtk` files to functions that can be used within [dolfinx](https://github.com/FEniCS/dolfinx).
7
+
`openmc2dolfinx` is a lightweight tool for converting [OpenMC](https://github.com/openmc-dev/openmc) output data (in `.vtk` format) into [dolfinx](https://github.com/FEniCS/dolfinx)-compatible `fem.Function` objects.
8
+
It is primarily designed to facilitate multiphysics coupling between OpenMC and finite element simulations (e.g. thermal, diffusion, or tritium transport analyses).
9
+
10
+
## Key features
11
+
12
+
- Convert structured and unstructured VTK meshes to dolfinx meshes.
13
+
- Interpolate OpenMC tally results directly into dolfinx Function spaces.
14
+
- Integrated with PyVista for mesh and data inspection.
8
15
9
16
## Installation
10
17
18
+
Using **conda**:
19
+
11
20
```bash
12
21
conda create -n openmc2dolfinx-env
13
22
conda activate openmc2dolfinx-env
@@ -18,7 +27,8 @@ Once in the created in environment:
18
27
python -m pip install openmc2dolfinx
19
28
```
20
29
21
-
## Exmaple usage
30
+
## Example usage
31
+
22
32
```python
23
33
from openmc2dolfinx import StructuredGridReader, UnstructuredMeshReader
0 commit comments