CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Conformal Mesh with FreeCAD, Salome and later gmsh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2023, 16:53
Default Conformal Mesh with FreeCAD, Salome and later gmsh
  #1
New Member
 
Madrigal
Join Date: Oct 2020
Location: Germany
Posts: 19
Rep Power: 6
CFD2DXY is on a distinguished road
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.
CFD2DXY is offline   Reply With Quote

Old   May 18, 2023, 14:29
Default
  #2
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,285
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
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.
arjun is offline   Reply With Quote

Old   May 18, 2023, 17:36
Default
  #3
New Member
 
Madrigal
Join Date: Oct 2020
Location: Germany
Posts: 19
Rep Power: 6
CFD2DXY is on a distinguished road
Quote:
Originally Posted by arjun View Post
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 ��

Last edited by CFD2DXY; May 19, 2023 at 10:21.
CFD2DXY is offline   Reply With Quote

Reply

Tags
conformal mesh, freecad 0.20.2, gmsh 4.11, salome 9.10


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



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