CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Import Mesh to OpenFoam (https://www.cfd-online.com/Forums/openfoam/188602-import-mesh-openfoam.html)

richardlee1206 June 2, 2017 16:45

Import Mesh to OpenFoam
 
2 Attachment(s)
Hi all,

I am a beginner of OpenFoam, and I met a problem about importing mesh. I generated a mesh of cyclorotor in ICEM, and exported a .msh file. Then, I imported the mesh to OpenFoam, but it said INTERFACE is internal to the mesh and is not being added to the boundary. And in the boundary file, all interfaces boundaries were added to a patch named default wall. So how can separate these boundaries and define them as interface?

The mesh is attached.

Thanks in advance.

Ang

jherb June 6, 2017 11:55

Did you give the different boundaries different names in ICEMCFD. Also do they belong to different 2D (shell) meshes?

Is that INTERFACE really an internal mesh? Does it actually consist of two 2D meshes in ICEMCFD? If yes you can merge the (2D) nodes of the two 2D meshes in ICEMCFD. Then you should be able to remove that 2D mesh there.

What does the ICEMCFD mesh checks say?

richardlee1206 June 7, 2017 16:02

Quote:

Originally Posted by jherb (Post 651936)
Did you give the different boundaries different names in ICEMCFD. Also do they belong to different 2D (shell) meshes?

Is that INTERFACE really an internal mesh? Does it actually consist of two 2D meshes in ICEMCFD? If yes you can merge the (2D) nodes of the two 2D meshes in ICEMCFD. Then you should be able to remove that 2D mesh there.

What does the ICEMCFD mesh checks say?

Hi Joachim,

My problem has been solved. I defined all boundaries as wall in ICEM, and I imported the mesh to OpenFoam successfully. Then, I changed the boundary conditions of interface in OpenFoam.

Also thanks for your advice.

Ang


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