CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Salome] Mesh Salome 7.3.0 to OpenFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2014, 11:16
Default Mesh Salome 7.3.0 to OpenFoam
  #1
New Member
 
hassan
Join Date: Jun 2014
Posts: 4
Rep Power: 12
Ahadi is on a distinguished road
Hello everyone, I am really stuck with this problem for couple of days now and hope that you can help me . I have created a simple T-shape pipe geometry and created a mesh for it with Salome. Now, I am trying to convert this mesh to openFoam (ideasunvtofoam) and I am having a segmentation fault. Could you please try to convert the mesh and see if it works with you so at least I know where the error is coming from. The files for the Salome geometry and the mesh files can be seen here

https://www.dropbox.com/sh/3wd70o7w9...xJm8I0IoGhSdXa

Regards and thanks for you help
Ahadi is offline   Reply With Quote

Old   June 18, 2014, 13:12
Default
  #2
New Member
 
hassan
Join Date: Jun 2014
Posts: 4
Rep Power: 12
Ahadi is on a distinguished road
UPDATE: I have recreated the geometry step by step and exported the corresponding mesh. It turns out that the problem lies with the patches creation and export. What I did as explained in one of the tutorials is that I created the geometry and then used explode to get the faces that constitute the inlet and outlet patches. Afterwards, these faces were grouped under patches. Then these patches in the geometry were used to create the group patches in the mesh which then exported along in the mesh file. Is this the right way to construct and export the patches or there is another way that works?? your help guys is really appreciated thanks
Ahadi is offline   Reply With Quote

Old   June 18, 2014, 16:41
Default
  #3
Member
 
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 14
gkarlsen is on a distinguished road
Quote:
Originally Posted by Ahadi View Post
UPDATE: I have recreated the geometry step by step and exported the corresponding mesh. It turns out that the problem lies with the patches creation and export. What I did as explained in one of the tutorials is that I created the geometry and then used explode to get the faces that constitute the inlet and outlet patches. Afterwards, these faces were grouped under patches. Then these patches in the geometry were used to create the group patches in the mesh which then exported along in the mesh file. Is this the right way to construct and export the patches or there is another way that works?? your help guys is really appreciated thanks
No expert at this.. but that is not what I do I create a single solid, and add groups of faces to it in the mesh module. You can find an example of this method in the Y-shaped pipe tutorial found here:

http://www.caelinux.org/wiki/index.p...ELinux_2007.29
gkarlsen is offline   Reply With Quote

Old   June 18, 2014, 18:11
Default
  #4
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18
wouter is on a distinguished road
Ahadi,
I also am not an expert. My strategy is to use the geom module to create STL files of my patches and with HELYX-OS I create with snappyHexMesh my mesh. I export the polyMesh directory to my case and change the boundaries, because HELYX-OS does not have my solvers, otherwise you can HELYX-OS to run your case.
But I noticed in your mesh that there is no internal mesh and openFOAM needs that. So the same as gkarlsen said.

Hope this helps
Wouter
wouter is offline   Reply With Quote

Old   June 19, 2014, 03:55
Default
  #5
Member
 
Geir Karlsen
Join Date: Nov 2013
Location: Norway
Posts: 59
Rep Power: 14
gkarlsen is on a distinguished road
Quote:
Originally Posted by wouter View Post
Ahadi,
I also am not an expert. My strategy is to use the geom module to create STL files of my patches and with HELYX-OS I create with snappyHexMesh my mesh. I export the polyMesh directory to my case and change the boundaries, because HELYX-OS does not have my solvers, otherwise you can HELYX-OS to run your case.
But I noticed in your mesh that there is no internal mesh and openFOAM needs that. So the same as gkarlsen said.

Hope this helps
Wouter
This is actually what I do as well, so I support Wouter's recommendation. I find Helyx-os to be real newbie friendly, and with it I can make much better hex-meshes refined in the right locations than I ever could manage directly from Salome. I work mainly with interFoam, which is supported by the Helyx-os GUI. That obviously makes it even better

My answer above is only relevant if you actually want to use Salome meshing for your geometry.

Geir
gkarlsen is offline   Reply With Quote

Old   July 1, 2014, 11:11
Default shm on multiregion
  #6
dzi
Member
 
Join Date: Nov 2011
Location: Berlin
Posts: 31
Rep Power: 15
dzi is on a distinguished road
Hi,
FYI I am also struggeling with snappy hex mesh on multi region and just started a new thread.
http://www.cfd-online.com/Forums/ope...ns-salome.html

regards dirk
dzi is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Salome] how to setFields in openFOAM when you have imported mesh from salome or other package 13msmemusman OpenFOAM Meshing & Mesh Conversion 11 May 18, 2022 08:30
[Salome] mesh conversion Salome --> OpenFoam vaina74 OpenFOAM Meshing & Mesh Conversion 42 March 4, 2022 21:41
[Salome] Converting Salome wedge mesh to OpenFOAM anon_q OpenFOAM Meshing & Mesh Conversion 4 March 13, 2019 16:13
[Salome] Step to export mesh from SALOME to OpenFoam for 3D MRF geometry aminem OpenFOAM Meshing & Mesh Conversion 0 September 16, 2014 11:18
Converting Salome hybrid mesh to OpenFOAM Arnoldinho OpenFOAM 4 March 28, 2012 11:24


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