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

Salome mesh with NETGEN 1D-2D-3D for OF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2010, 12:58
Default Salome mesh with NETGEN 1D-2D-3D for OF
  #1
New Member
 
Christoph
Join Date: Apr 2010
Posts: 19
Rep Power: 16
kriz is on a distinguished road
Hi!

I am not sure if this is the right place to post, but maybe someone using Salome for meshing can help?

I am currently lacking any commercial mesher, so I am using Salome. The current problem is very, very simple: I have a rectangular room with a small rectangle cut out of the room - it should be a room with a radiator (see attachment).

When I mesh this geometry with NETGEN 1D2D3D it will not refine the mesh at the edges of the radiator, only at the very end of it - Looking at the attachment, you see a slice through the mesh - You can see a finer mesh where the radiator sits, but only at the end of it. Looking at the mesh you can see that the mesh does not refine in direction to the radiator surface.

Is there a possibility to mesh it with a decent refinement at the edges and at the radiator surface, w/o buying a commercial mesher?
Attached Images
File Type: jpg room.jpg (67.8 KB, 194 views)
File Type: jpg mesh_cut.jpg (85.5 KB, 234 views)
kriz is offline   Reply With Quote

Old   June 11, 2010, 15:37
Default
  #2
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Hello,

Quote:
Originally Posted by kriz View Post
Is there a possibility to mesh it with a decent refinement at the edges and at the radiator surface, w/o buying a commercial mesher?
Yes there is (attention: advertising own stuff ). Using enGrid and Blender you can easily create the geometry, mesh it, and export it to OpenFOAM. The attached picture shows a similar geometry to yours; the walls have prismatic layers which might be useful if you want to resolve the temperature boundary layer. enGrid uses NETGEN for the tetra meshing and its own algorithms for surface meshing and prismatic boundary layers. It is open-source (GPL) and can be found here:
http://engits.eu/engrid

Regards,
Oliver
Attached Images
File Type: jpg scr.jpg (65.7 KB, 231 views)
ogloth is offline   Reply With Quote

Old   June 12, 2010, 07:53
Default
  #3
Member
 
Join Date: Dec 2009
Posts: 36
Rep Power: 16
FG_HSRM is on a distinguished road
Quote:
Originally Posted by kriz View Post
Is there a possibility to mesh it with a decent refinement at the edges and at the radiator surface, w/o buying a commercial mesher?
Hi kriz,

why you are not using snappyHexMesh for meshing and using Salome just for the *.stls? You will have Hexaeder and you can do refinements in special areas.

Regards

Fritz
FG_HSRM is offline   Reply With Quote

Old   June 13, 2010, 08:18
Default
  #4
New Member
 
Christoph
Join Date: Apr 2010
Posts: 19
Rep Power: 16
kriz is on a distinguished road
Quote:
Originally Posted by FG_HSRM View Post
why you are not using snappyHexMesh for meshing and using Salome just for the *.stls?
Good question. I just started giving snappyHexMesh a try. Thanks for the hint. Is there a good tutorial for it? I found this one: http://www.hydroniumion.de/allgemein...mesh-tutorial/

Is there a possibility to define edges/surfaces in Salome (e.g. with groups) that will be refined by snappyHexMesh? Or do I always have to specify the regions to be refined by coordinates in the snappyHexMeshDict? This would be very cumbersome for more complex geometries.
kriz is offline   Reply With Quote

Old   June 14, 2010, 06:17
Default
  #5
Member
 
Join Date: Dec 2009
Posts: 36
Rep Power: 16
FG_HSRM is on a distinguished road
Hello!
Quote:
Originally Posted by kriz View Post
It looks good to me. There also some tutorials in OpenFoam.

Quote:
Originally Posted by kriz View Post
Is there a possibility to define edges/surfaces in Salome (e.g. with groups) that will be refined by snappyHexMesh? Or do I always have to specify the regions to be refined by coordinates in the snappyHexMeshDict? This would be very cumbersome for more complex geometries.
Yes, there are some way to do that. Just take a look in the userguide to get a first impression, what you can do.
Do you already know, how to export the patches?
regards
Fritz
FG_HSRM 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
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 06:41
[Other] vtk mesh or Abaqus mesh to OpenFOAM bigphil OpenFOAM Meshing & Mesh Conversion 27 November 23, 2015 17:31
engrid -> save as .stl with boundarie codes Zymon enGrid 31 August 29, 2011 13:40
2d irregular grid Remy Main CFD Forum 1 December 22, 2008 04:49
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


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