[Opm] Use external mesh with Flow OPM and unstructured meshes

Antoine B Jacquey ajacquey at mit.edu
Mon Nov 16 14:24:01 UTC 2020


Hi Atgeirr and the OPM community,

We tried to use the trick you mentioned using MRST to export the grid to OPM.
We encountered some issues related to the geometry. In MRST we have an unstructured grid (we tried both hexahedra and tetrahedra) but the VTK output from OPM just looks like a line.
The DX.txt file generated by MRST looks ok but the DY.txt and DZ.txt are just lists of 1s.

Here is the grid we built in MRST:
https://drive.google.com/file/d/1l0584yAr8eYLAdtkVPtiuZzJaxHs5pNB/view?usp=sharing <https://drive.google.com/file/d/1l0584yAr8eYLAdtkVPtiuZzJaxHs5pNB/view?usp=sharing>

And that’s the output (VTK) we get from OPM (it’s just a line with broken connectivities):
https://drive.google.com/file/d/105WrVKZCswe7fJV_zzAqYZmaT4wWjQr9/view?usp=sharing <https://drive.google.com/file/d/105WrVKZCswe7fJV_zzAqYZmaT4wWjQr9/view?usp=sharing>

We are not sure if we missed something in the process or if we did a mistake somewhere.

We would like to use a mesh built from tetrahedra (similar to the one built from MRST). Is this type of element supported by the OPM Flow solver? And do you think by using the trick of the MRST export we can rebuilt tetrahedra in OPM?
If we choose to code our own grid class or link to another grid class from Dune, do you know if tetrahedra are also supported in any of the Dune classes?

Thanks In advance for you comments and advice.
Antoine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1866 bytes
Desc: not available
URL: <//opm-project.org/pipermail/opm/attachments/20201116/3278dea5/attachment.bin>


More information about the Opm mailing list