CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ICEM] Merging of two different meshes (https://www.cfd-online.com/Forums/ansys-meshing/225767-merging-two-different-meshes.html)

naveen k s April 7, 2020 02:40

Merging of two different meshes
 
3 Attachment(s)
Dear Foamers,
I'm trying to simulate flow over the bluff body case. For this purpose, I've created a mesh using ICEM CFD software. I have split up the mesh into two blocks and saved it as two different projects.
1. Block 1 (projects): It has finer mesh generated around the geometry and in the wake region.
2. Block 2 (project 2): It has a coarser mesh, and it resides around the Block 1 mesh.

The pictures of these two projects are attached.

Then in a separate new project, I performed these steps to merge them:
1. Imported the geometry of project 2 and project 1, and then chose the merge option to combine them.
2. Imported the mesh of project 2 and project 1, and then chose the merge option to combine the two meshes, so as to obtain a complete mesh (picture is attached).

Now, my question is what should we do with the INTERFACE that is created between the two blocks. Please note that I will be importing this mesh to OpenFOAM.
a. Is there any way I can remove this INTERFACE and get an errorless mesh.
OR
b. Whether there exists any B.C. that can be used at the INTERFACE.

shereez234 April 7, 2020 05:22

Quote:

Originally Posted by naveen k s (Post 764534)
Dear Foamers,
I'm trying to simulate flow over the bluff body case. For this purpose, I've created a mesh using ICEM CFD software. I have split up the mesh into two blocks and saved it as two different projects.
1. Block 1 (projects): It has finer mesh generated around the geometry and in the wake region.
2. Block 2 (project 2): It has a coarser mesh, and it resides around the Block 1 mesh.

The pictures of these two projects are attached.

Then in a separate new project, I performed these steps to merge them:
1. Imported the geometry of project 2 and project 1, and then chose the merge option to combine them.
2. Imported the mesh of project 2 and project 1, and then chose the merge option to combine the two meshes, so as to obtain a complete mesh (picture is attached).

Now, my question is what should we do with the INTERFACE that is created between the two blocks. Please note that I will be importing this mesh to OpenFOAM.
a. Is there any way I can remove this INTERFACE and get an errorless mesh.
OR
b. Whether there exists any B.C. that can be used at the INTERFACE.

I wonder if this question belongs in the OpenFOAM subforums. But here is my view on this:
I dont think there is a way to remove the interface (then it will be two fluid zones which needs to be connected by edges of volume elements (in this case quads).

Keeping the interface won't create much problems if this is really what you want. AMI is the arbtiary mesh interface for this kind of problems.

https://openfoam.org/release/2-3-0/non-conforming-ami/

bluebase April 7, 2020 14:54

Hi Naveen,

this is not a direct answer to your problem.

However, in another thread a user resolved an issue with hanging nodes using refinements https://www.cfd-online.com/Forums/an...tml#post763815

Though this is a workaround to your question, it might pose a workable path to the desired mesh:
you could create an integrated blocking, which holds the full blocking of the coarse and fine domain. Then, use refinement levels on the inner blocks to get the same mesh density as you have now. This will create some hanging nodes at the "interfaces" of different refinement levels. But, there is no distinct interface mesh in that region.
Subsequently, you export a fluent mesh, and use fluent3dmeshtofoam. Finally, use zipupmesh to stitch any remaining issues with the hanging nodes.

Best,
Sebastian


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