CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > enGrid

stl geometries are never good enough - why?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ogloth

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2013, 10:00
Default stl geometries are never good enough - why?
  #1
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
Hello,

after completing the damper tutorial, I am trying to create an alternative mesh for an OpenFoam tutorial using enGrid.

When I try to import a stl geometry, I get the error message:

p, li { white-space: pre-wrap; } "The STL geometry could not be cleaned"


The same happened with an airfoil.stl I created.


What are the required settings?


Klaus
klausb is offline   Reply With Quote

Old   April 5, 2013, 12:33
Default
  #2
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
STL is an awful format and most CAD programs fail to export water-tight STL files. Open-Cascade based software generally does a good job of this. Alternatively you can fix the geometry using Blender.

Feel free to post a geometry which fails and I'll have a look at night -- not before Monday, unfortunately.

Engrid badly needs an import function for CAD files without the detour via STL or any other mesh based format.

Regards,
Oliver
ogloth is offline   Reply With Quote

Old   April 5, 2013, 13:12
Default S809 airfoil.stl needed
  #3
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
Hello,

the stl file is too large to post.

What I need is a stl file of the S809 airfoil with a span twice the chord. Find the coordinate file for the S809 airfoil attached.

Airfoil coordinate files describe the geometry for a chord of 1 which will be interpreted for my simulation as 1m so the span should be 2 (2m).

If the program can't handle coordinates ranging from 0 to 1, they can be multiplied by e.g. 100 or 1000. A correction factor can easily be set in OpenFoam.

How can such an stl be created?

Do you have plans to enable step or iges imports?

Klaus
Attached Files
File Type: txt S809.txt (1.3 KB, 12 views)
klausb is offline   Reply With Quote

Old   April 8, 2013, 09:20
Default
  #4
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Hi Klaus,

I just had a look at your airfoil and it imports after changing the format slightly to match the Selig airfoil format. It can then be exported to Blender and within Blender a proper volume can be created with little effort.

Do you want your wing between two walls (symmetry planes), or do you want a proper wing tip?

I'll send you a file which you can import into enGrid later today or tomorrow, because there is loads of other work to do ...

Cheers,
Oliver
ogloth is offline   Reply With Quote

Old   April 8, 2013, 17:39
Default The S809 test case
  #5
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 250
Rep Power: 22
klausb will become famous soon enough
Hello,

my intention is to use enGrid to create the mesh for the S809 3D test case described in the ris-r-1581.pdf paper.

Paper download: http://http://www.findthatpdf.com/se...r-1581.pdf.htm

Klaus
klausb is offline   Reply With Quote

Old   April 9, 2013, 03:12
Default
  #6
Senior Member
 
Oliver Gloth
Join Date: Mar 2009
Location: Todtnau, Germany
Posts: 121
Rep Power: 17
ogloth is on a distinguished road
Hello,

here is the promised file. It is in the enGrid <-> Blender exchange format which can be directly imported into enGrid. Boundary codes have already been defined. Please note that the wing is split into an upper and lower part; this is important to keep the sharp trailing edge intact.

Cheers,
Oliver
Attached Files
File Type: zip S809.begc.zip (3.0 KB, 32 views)
juaneco2710 likes this.
ogloth is offline   Reply With Quote

Old   November 28, 2013, 18:37
Default
  #7
Member
 
Roberto Pieri
Join Date: Feb 2012
Location: Milan
Posts: 57
Rep Power: 14
robyTKD is on a distinguished road
Hallo Oliver,

I am very much interested in building a mesh using Blender + enGrid.

I have downloaded the file you attached in previous post (it is great!!). I would like to know how did you build the .becg file (from the definition of the airfoil curve to the definition of boundaries).
Is it possible to have any advice? or do you know where I can find a little guide?

Thank you very much for the attention!

Cheers,
Roberto
robyTKD is offline   Reply With Quote

Old   November 29, 2013, 16:40
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Roberto: I'm not certain how Oliver did it, but the following tutorials come to mind:
And enGrid's wiki is open to public contributions, so please do contribute if you can: https://github.com/enGits/engrid/wik...nGrid%27s-wiki

Last but not least, do keep in mind that Oliver can provide faster support if you use the very accessible and helpful support line at http://engits.eu/en/support !

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 1, 2013, 15:10
Default
  #9
Member
 
Roberto Pieri
Join Date: Feb 2012
Location: Milan
Posts: 57
Rep Power: 14
robyTKD is on a distinguished road
Thank you for the quick reply Bruno.

I followed the tutorials that you proposed above, unfortunately I am not able to obtain something like the file made by Oliver. In particular I met difficulties in extruding the airfoil profile (producing a good .stl) and creating symmetry planes with holes in correspondence of the airfoil in Blender.

However I'll ask for help on the enGits forum as you proposed!!

I would be pleased to contribute to the enGrid's wiki!

Cheers,
Roberto
robyTKD 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
How to generate STL files for idealized geometries? werder85 Main CFD Forum 0 November 1, 2012 12:47
Defining boundary conditions STL file marco100 OpenFOAM Pre-Processing 7 May 23, 2012 08:06
How to do a good geometry clean-up in GAMBIT mahadevan.swamy Main CFD Forum 0 June 19, 2009 21:13
BC for complex geometries benru OpenFOAM Pre-Processing 3 August 10, 2007 09:43
[blockMesh] Is blockMesh generally considered a good quality tool york OpenFOAM Meshing & Mesh Conversion 4 November 15, 2006 13:42


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