|
[Sponsors] |
Conformal Mesh with FreeCAD, Salome and later gmsh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 17, 2023, 16:53 |
Conformal Mesh with FreeCAD, Salome and later gmsh
|
#1 |
New Member
Madrigal
Join Date: Oct 2020
Location: Germany
Posts: 19
Rep Power: 6 |
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. 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? Last edited by CFD2DXY; May 18, 2023 at 08:26. |
|
May 18, 2023, 14:29 |
|
#2 |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,285
Rep Power: 34 |
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. |
|
May 18, 2023, 17:36 |
|
#3 | |
New Member
Madrigal
Join Date: Oct 2020
Location: Germany
Posts: 19
Rep Power: 6 |
Quote:
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 Last edited by CFD2DXY; May 19, 2023 at 10:21. |
||
Tags |
conformal mesh, freecad 0.20.2, gmsh 4.11, salome 9.10 |
|
|