CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Conformal Mesh with FreeCAD, Salome and later gmsh (https://www.cfd-online.com/Forums/main/249949-conformal-mesh-freecad-salome-later-gmsh.html)

CFD2DXY May 17, 2023 15:53

Conformal Mesh with FreeCAD, Salome and later gmsh
 
Hello everyone,

I have a little project and that will help us all here in our forum!
I want to create a multibody mesh with opensource programs like FreeCAD and Salome and later with GMSH.

I found this article: http://onelab.info/pipermail/gmsh/2015/010110.html

I used before Star CCM+ and it was no problem for making conformal multibody meshing but I don’t want to use it anymore. With CFMesh+ it’s also possible and I tried it, it works fine! But as I said I want to use opensource programs��!

I tried something:
I made a reactionzone (inner pipe) and a pipe which have a bigger diameter at the same point (on XY Plane). Like in this picture:
FreeCAD before boolean operations —>https://i.imgur.com/gNWLMJj.png

As I said I made many conformal mesh in my life and knows it’s better to make a differenz between the reactionzone+sweep and the reactionzone. So the result is only the sweep which is around the inner pipe (reactionzone). After I did a bollean operations —> FreeCAD after boolean oprations: https://i.imgur.com/VQwWLWD.png

Than I exported booth step files and import it into Salome.
Salome before partitioned:
https://i.imgur.com/J89FvOM.png
Than I did the partition but is it right with solid? Or maybe shell?
Salome partition:
https://i.imgur.com/ffSQDE6.png
After partition it’s looks like so —> Salome after partitioned:
https://i.imgur.com/abnXe41.png


This is my effort from today after using first time both softwares��. I am sure that we can fix the case.

My desired result: a multibody region where I can define two different physics and the boundary layer to the next region not will be merged. The most conformal mesh tutorial make two geometries one, but I want two separate from each other but where the nodes meet.

Thanks a lot ���� and I hope we will solve this case.
:cool::cool:
Big regards

CFD2D

PS: after it works in Salome, I want to try it in GMSH (after partitioned in Salome). Than write a Pythonskript that make all automatically and all in this forum can use it.

Edit: here I found two very usefull videos:
https://youtu.be/U4qTv7UFFdA
https://youtu.be/pdlUbAUb1GY

But how I can put it on a cylinder and a hole-cylinder who including the first one like in my picture?

arjun May 18, 2023 13:29

I am not sure what you are trying to do here.

Do you want to take a surface from a body and extrude the mesh to create second region?? Now they share a common and matched interface?

Also do you want to use this to create a boundary layer
??

I asked because something similar we can do in wildkatze. This i added for two reasons and one of them was to create a boundary layer to calculate shear rate etc. Prism part works but shear rate etc is unfinished project.

CFD2DXY May 18, 2023 16:36

Quote:

Originally Posted by arjun (Post 850438)
I am not sure what you are trying to do here.

Do you want to take a surface from a body and extrude the mesh to create second region?? Now they share a common and matched interface?

Also do you want to use this to create a boundary layer
??

I asked because something similar we can do in wildkatze. This i added for two reasons and one of them was to create a boundary layer to calculate shear rate etc. Prism part works but shear rate etc is unfinished project.

Thanks for reply my message ����.
I want to make a multi body mesh, meaning I have two body’s who have one contact area but pointing the same node at the contact area.. like star ccm, Ansys etc but doing with Salome.. I saw in the YouTube video that it is possible but what is my top area and what is my fix are (like in this video)?

Best regards

CFD2D

Edit: I solved it ��


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