Importing mesh from starccm

I have a mesh file generated by starccm+. is there a way to use it in pyfr? convert it into a pyfr usable format?

many thanks
Nathan

To my knowledge, there are no standalone tools to do this. Some mesh generators such as Pointwise can natively export a .pyfrm file (although in Pointwise for example there are a couple of subtlies relating to periodic boundaries). Otherwise, the current version of PyFR (V1.11) supports importing GMSH files producing a .pyfrm file. Some older versions or PyFR could import CGNS meshes, however, this is no longer supported.

Searching around, if you are unable to produce a GMSH file, there are some other options in converting the starccm+ file to something that GMSH can open. Or there is even the possibility of converting the starccm+ file to openFOAM, then openFOAM to GMSH. However, I haven’t tried any of these options, so I can’t be sure if they work or to what degree features are supported.

I hope this helps and let me know how you get on.

You may try the Python package meshio . Which are the output formats from star-ccm? I think you could use

To output star ccm in OpenFOAM format, then you can use foamMeshToFluent to go from OoenFOAM to Fluent format. Then meshio should be capable of transforming from Fluent to GMSH format.

thank you GonzaloS. if all else fails i will try this. this seems to me a very long detour.

thank you will, it seems that gmsh is indeed the best way