CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   STL -> GMSH -> OpenFOAM (https://www.cfd-online.com/Forums/openfoam/92220-stl-gmsh-openfoam.html)

eric.m.tridas September 6, 2011 14:53

STL -> GMSH -> OpenFOAM
 
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

SkunkWorks September 6, 2011 16:27

Discretizer and enGrid
 
Have you tried Discretizer and enGrid ?

/ Rickard

eric.m.tridas September 6, 2011 16:31

Rickard,

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

-Eric

SkunkWorks September 7, 2011 00:53

Discretizer I think
 
Hi i think that Discretizer is the best choice when you work with stl.

/ Rickard

SkunkWorks September 7, 2011 09:38

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

eric.m.tridas September 7, 2011 11:28

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 September 7, 2011 11:31

Hey Rickard,

When you say:

Quote:

Originally Posted by SkunkWorks (Post 323287)
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

SkunkWorks September 7, 2011 12:06

I mean better then enGrid. :) and yes I referring to v 1.71OF


All times are GMT -4. The time now is 10:50.