Hi,
So in principle this is possible, yes. See our documentation:
Tutorial and detailed instructions.
There are a couple things required to make this work, however.
- We support only linear quad/hex meshes. Support for higher-order elements is desired, see the corresponding issue. Other element types are yet somewhat further away, as
p4estsupports only quads/hexes. - The boundary information is constructed based on the
NSETinformation. So when exporting a mesh to.inpyou need to select theExport all nodeoptions. - To ensure correct export of the
.mshviaGmshto.inpyou should set the geometric/elementary element ID to the physical ID (seenumber-of-tagsof this documentation)