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

Geometry preparation and post pro

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2011, 09:35
Default Geometry preparation and post pro
  #1
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Hi all;
some tips from you:

1. Geometry preparation: how do you separate different regions of a .stl file to different names to assign different boundary/mesh conditions? Any free tool to do that or do we need a proper cad? What about paraview?

2. If you run foamToVTK you will find these regions inside the VTK folder contained in many directories. To load the whole geometry in paraview you should enter every folder and load the file. Any way to do that in a single step?


Thank you!
lovecraft22 is offline   Reply With Quote

Old   June 25, 2011, 06:39
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

1) I heard that ANSA can do it, but this is commercial, do not know a free tool.

2) It is a guess what I propose (paraview macro that is extended by python scripting)

At the 6th openfoam workshop http://www.personal.psu.edu/dab143/O...rle_slides.pdf
see slide 17+18

paraview => http://www.itk.org/Wiki/ParaView/Python_Scripting
http://www.itk.org/Wiki/Python_GUI_Tools#Trace
http://www.itk.org/Wiki/Python_GUI_Tools#Macros
http://www.itk.org/Wiki/Python_GUI_Tools

http://www.paraview.org/paraview/hel...de%20v3.10.pdf
page 140 "scripted control" or better page 160 "Tools for Python Scripting"

this way (by using "trace") you should be able to make your life easier
elvis is offline   Reply With Quote

Old   June 25, 2011, 07:27
Default
  #3
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Thank you elvis.
About point 1: just wondering how people who uses cfd on their own have managed to solve the problem without having to afford any expensive commercial software…
lovecraft22 is offline   Reply With Quote

Old   June 25, 2011, 07:48
Default
  #4
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

i was at a presentation at icon, from this presentation I heard that they used ANSA (at first) and reprogrammed or licencend that for their commercial tool FOAMpro MESH http://www.iconcfd.com/en/icon-foampro-mesh

Also I heared at this presentation that solidworks should be able to export this kind of STL's but you have to contact solidworks to get this function. It is not directly in the core product (has been said)

sorry no expert in the STL area
elvis is offline   Reply With Quote

Old   June 29, 2011, 04:29
Default
  #5
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Here I found the solution with blender:
http://www.cfd-online.com/Forums/ope...cii-stlbs.html
lovecraft22 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



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