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

STL -> GMSH -> OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2011, 15:53
Default STL -> GMSH -> OpenFOAM
  #1
Member
 
Eric M. Tridas
Join Date: May 2011
Location: Tampa, Florida
Posts: 48
Rep Power: 15
eric.m.tridas is on a distinguished road
Hey Foamers,

I've been trying to figure out how to properly assign the physical group labels and mesh a geometry created in SolidWorks, converted to STL and then imported into GMSH for use in OpenFOAM.

I've been able to import the geometry into GMSH but am somewhat stuck there. I've been looking for tutorials and other information on this site and the GMSH site but haven't found anything very conclusive.

Can anyone help me out with this or suggest an easier alternative? Thanks in advance.

-Eric
eric.m.tridas is offline   Reply With Quote

Old   September 6, 2011, 17:27
Default Discretizer and enGrid
  #2
Member
 
Rickard Hidefjäll
Join Date: Jun 2009
Location: Uppsala, Sweden
Posts: 39
Rep Power: 17
SkunkWorks is on a distinguished road
Have you tried Discretizer and enGrid ?

/ Rickard
SkunkWorks is offline   Reply With Quote

Old   September 6, 2011, 17:31
Default
  #3
Member
 
Eric M. Tridas
Join Date: May 2011
Location: Tampa, Florida
Posts: 48
Rep Power: 15
eric.m.tridas is on a distinguished road
Rickard,

I haven't tried either of those yet. Do you prefer one over the other? If so, why?

-Eric
eric.m.tridas is offline   Reply With Quote

Old   September 7, 2011, 01:53
Default Discretizer I think
  #4
Member
 
Rickard Hidefjäll
Join Date: Jun 2009
Location: Uppsala, Sweden
Posts: 39
Rep Power: 17
SkunkWorks is on a distinguished road
Hi i think that Discretizer is the best choice when you work with stl.

/ Rickard
SkunkWorks is offline   Reply With Quote

Old   September 7, 2011, 10:38
Default
  #5
Member
 
Rickard Hidefjäll
Join Date: Jun 2009
Location: Uppsala, Sweden
Posts: 39
Rep Power: 17
SkunkWorks is on a distinguished road
Hi again!
Watch the screen cast but do not change the name of the stl despite to that they say in the screen cast , if you will have prismatic layers your stl. And I think too that discretizer is a better choice because it works directly against the openfoam. (But only version 1.71 for now)

The advantage of enGrid is that it'a convinient way on convert gmsh:s .geo fils to openfoam, without convert to stl.

http://www.discretizer.org/

http://engits.eu/en

Regards / Rickard
SkunkWorks is offline   Reply With Quote

Old   September 7, 2011, 12:28
Default
  #6
Member
 
Eric M. Tridas
Join Date: May 2011
Location: Tampa, Florida
Posts: 48
Rep Power: 15
eric.m.tridas is on a distinguished road
Hey Rickard,

Thanks for all the suggestions. I'm trying Discretizer now and I'll let you know how it works out for me.

Regards,

Eric
eric.m.tridas is offline   Reply With Quote

Old   September 7, 2011, 12:31
Default
  #7
Member
 
Eric M. Tridas
Join Date: May 2011
Location: Tampa, Florida
Posts: 48
Rep Power: 15
eric.m.tridas is on a distinguished road
Hey Rickard,

When you say:

Quote:
Originally Posted by SkunkWorks View Post
And I think too that discretizer is a better choice because it works directly against the openfoam. (But only version 1.71 for now)
are you referring to the OF version 1.71? Thanks.

-Eric
eric.m.tridas is offline   Reply With Quote

Old   September 7, 2011, 13:06
Default
  #8
Member
 
Rickard Hidefjäll
Join Date: Jun 2009
Location: Uppsala, Sweden
Posts: 39
Rep Power: 17
SkunkWorks is on a distinguished road
I mean better then enGrid. and yes I referring to v 1.71OF
SkunkWorks 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
[CAD formats] Can OpenFOAM convert foam mesh to stl? liying02ts OpenFOAM Meshing & Mesh Conversion 10 December 30, 2018 11:03
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
CAD -> gMsh -> enGrid -> OpenFOAM Problem AlGates OpenFOAM 7 August 6, 2010 13:46
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
[Gmsh] Error converting Gmsh mesh to OpenFOAM format Martin_ OpenFOAM Meshing & Mesh Conversion 3 December 9, 2009 10:35


All times are GMT -4. The time now is 07:13.