Page 1 of 1

Hexa dominant mesh

Posted: Thu Oct 27, 2016 5:23 pm
by Luciano Garelli
Hello,

I write in this Discussion forum in order to know if any was able to create hexa dominan meshes like that obtained with snappyhexmesh. This kind of meshes are very well suited for finite volume method, getting better convergence, lower diffusion between other benefits.

I was doing some research and couldn't find any conversor from VTK to MED or any CS mesh file format.

Someone has explored this kind of meshes or conversor?

Regards,

Luciano

Re: Hexa dominant mesh

Posted: Fri Oct 28, 2016 12:58 pm
by Yvan Fournier
Hello,

I never tested it, but someone (I believe on this forum) gave me a link to the following converter: https://github.com/mortbauer/foamMeshToMED.git.

Regards,

Yvan

Re: Hexa dominant mesh

Posted: Fri Oct 28, 2016 7:04 pm
by Luciano Garelli
Hello Yvan,

I had seen this converter but the last version has 2 years and I thought it wouldn't work, so I write a python script to convert VTKtoMED (polyhedron meshes) but it is not as robust as I want, for some meshes appears negatives volume.

I will try to compile the converter and comment the results.

Regards,

Luciano

Re: Hexa dominant mesh

Posted: Tue Nov 01, 2016 4:10 pm
by Luciano Garelli
Hello Yvan,

I have compile the converter and it works. I can convert snappy meshes (with and without boundary layers) to CS, but no all the genereted meshes are valid for CS. Some quality parameters in SHM has to be tunned in order to obtain a valid mesh, but once you get the appropiated parameters the meshes can be translated.

The convert has the same issues tha have my python converter, but with this converter it is not needed a intermediate VTK to convert to MED.

Will be useful if Salome incorporate in a future an algortihm in order to generate Hexa dominant meshes.

Once again, thanks for the info.

Regards,

Luciano