nextfoam / baram

CFD for Everyone
https://baramcfd.org/
GNU General Public License v3.0
98 stars 17 forks source link

.msh Non tetrahedral topologies fail the import in BaramFlow #105

Open parisipa opened 2 months ago

parisipa commented 2 months ago

Hello,

When importing Ansys Fluent meshes, I noticed that tetrahedral .msh files get imported without problem in BaramFlow. However, when the .msh file contains another topology (polyhedral, polyhexcore etc), the import fails.

A provisional solution I have found is to convert those .msh to polymesh and the import the OpenFOAM files. It is a bit tedious to do for many meshes however.

Thanks in advance for looking into it.

Kind regards, Angie

jiban commented 2 months ago

Hi, Angie. Thank you for the report. Could you let me know how you converted those .msh to polymesh? And it would be helpful if you send me one of your troubled .msh file. Thank you.

Best regards, Jake

parisipa commented 2 months ago

Hi Jake,

I attach to this comment a poly-hexcore mesh from Ansys Fluent.

Regarding the conversion, I did it by copying the mesh into the directory of one of my OpenFOAM cases and using the command fluent3DMeshToFoam . The I took the polymesh file created in the constant directory and imported it in the BaramFlow case.

Kind regards, Angie

95k.zip

jiban commented 1 month ago

Hi, Angie. BARAM v24.4.0 now can convert your 95k.cas. Could you please try it and let me know if it's ok?