Import openfoam mesh (cfMesh)

Hi,

I would like to import a mesh that I have done which contains well defined boundary layers. I have done this mesh using cfmesh, and it can be imported into OpenFoam. Now I would like to import it to Fenics. Any ideas on how this can be done?

Thanks

Hi,

I do not know anything about cfmesh, but if the file format is one of the formats listed in meshio, I think you can convert it into xdmf which is FEniCS compatible.

1 Like