CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Tool to convert OpenFoam mesh to SU2 mesh (2D and 3D) (https://www.cfd-online.com/Forums/su2/127445-tool-convert-openfoam-mesh-su2-mesh-2d-3d.html)

mhollander October 5, 2023 00:07

Script Bug?
 
3 Attachment(s)
https://www.cfd-online.com/Forums/da...DnAgAADxUAAAAA

Sorry to revive an old thread, but I'm giving this script a go and have been persistently running into the following error:


Code:

kindMesh (2D/3D) = 3D
Input file read correctly

Reading of the 'points' file
Problem during the 'points' file reading




I have attached the python script as run, the associated text file and the associated OpenFOAM case.


If anyone has any insights, I'd love to hear from you!


Best,
Moshe.



Attachment 96510

Attachment 96511

Attachment 96512

harsha_kulkarni October 5, 2023 00:16

Check points folder created in polymesh directory

mhollander October 5, 2023 00:35

1 Attachment(s)
Quote:

Originally Posted by harsha_kulkarni (Post 857882)
Check points folder created in polymesh directory


For some reason blockMesh wasn't working there...


I tried a different tutorial case where it did work (see attached). There are now in fact 'points' in the PolyMesh folder. I'm still getting the same error.


See attached case.



Attachment 96513

S1mple March 1, 2024 02:16

Quote:

Originally Posted by alexmogavero (Post 669255)
Thank you, I have found what was wrong. The Open Foam mesh was not generated by extrusion, but using an app to transform it into a wedge.

Using your app before the transformation into a wedge, solved the issue.

Hi,

Sorry for reply a thread so old, but I'm facing the same problem, so could you give a hint about how to do that?

Sincerely,
Jianshu Wu

chandrashekharapatankar March 12, 2024 00:35

you can create mesh in GMESH and export it to su2 format

(just for information)


All times are GMT -4. The time now is 07:07.