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

Importing SolidWorks Model DIRECTLY into openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hellorishi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2009, 21:44
Default Importing SolidWorks Model DIRECTLY into openfoam
  #1
New Member
 
Brad
Join Date: Jul 2009
Posts: 3
Rep Power: 17
bgood44 is on a distinguished road
Hello All,

I am currently working on developing a UAV for a university project. Unfortunately, the wind tunnels at my school aren't quite big enough for this uav and I don't want to go through the hassle of building a scale model. I have a very accurate SolidWorks model of the aircraft and would like to use OpenFoam to do some analysis ( specifically, I want to find the control derivitives, so essentially I just need to find the pressure distribution on the surface of the aircraft).

Is there a way I can use my SolidWorks model and generate a mesh using an open source software, and than use openfoam to find the pressure distribution on the aircraft. I would prefer to use openfoam ( Its a software I really want to learn), and I would like to use my current SolidWorks model. I know cosmos is an option with solidworks, but I would prefer not to go that route, so please don't go there...


Thanks for the Help!
bgood44 is offline   Reply With Quote

Old   July 21, 2009, 02:59
Default
  #2
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
Hello Brad,

There are a few opensource meshing tools for OpenFOAM. You might have to export Solidwork file as STL for snappyHexMesh
http://www.opencfd.co.uk/openfoam/do...pyHexMesh.html

Or IGES /STEP for NetGen or Gmsh
http://www.hpfem.jku.at/netgen/
http://www.geuz.org/gmsh/

I am not sure if one can get boundary layers with NetGen or Gmsh.
SnappyHexMesh does that, but I find it a bit complicated to use.

tutorial->
http://www.tfd.chalmers.se/~hani/kur...ppyHexMesh.pdf
hellorishi is offline   Reply With Quote

Old   July 21, 2009, 03:05
Default
  #3
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
I forgot to mention EnGrid.
http://www.ohloh.net/p/engrid

I have not tested this one yet. Seems promising.
hellorishi is offline   Reply With Quote

Old   July 22, 2009, 12:48
Default
  #4
New Member
 
Brad
Join Date: Jul 2009
Posts: 3
Rep Power: 17
bgood44 is on a distinguished road
And all of the programs you listed work with solidworks? Is there any downside to using Engrid, NetGen, or Gmsh with solidworks ?
bgood44 is offline   Reply With Quote

Old   July 23, 2009, 05:45
Default
  #5
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
These programs work with generic file formats like STL, IGES /STEP
Solidworks or almost any CAD package can export to the above 3 formats.

The downside of exporting to such formats is slight loss of accuracy in shape, due to approximations. e.g. it might export a circle as a 10sided polygon. You can increase the accuracy by exporting as 36 sided polygon for better approxitmation.
hellorishi is offline   Reply With Quote

Old   July 23, 2009, 18:53
Default
  #6
New Member
 
Brad
Join Date: Jul 2009
Posts: 3
Rep Power: 17
bgood44 is on a distinguished road
When I download OpenFoam, do these programs come with it or do I need to add it seperately

Thanks,

Brad
bgood44 is offline   Reply With Quote

Old   July 24, 2009, 02:27
Default
  #7
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 149
Rep Power: 17
hellorishi is on a distinguished road
snappyHexMesh is native OpenFOAM.

Others have to be downloaded separately...
ironsamosa likes this.
hellorishi is offline   Reply With Quote

Old   December 31, 2018, 21:18
Default importing solidworks model to openFOAM
  #8
New Member
 
Henry Keller
Join Date: Dec 2018
Posts: 1
Rep Power: 0
ironsamosa is on a distinguished road
Hi there, would you be kind enough to guide with with what command line statements on how to import a Solidworks or Inventor model or assembly into OpenFoam, then meshing it and then opening in on paraview?





thanks!
ironsamosa is offline   Reply With Quote

Old   January 18, 2019, 04:27
Default
  #9
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8
yambanshee is on a distinguished road
Quote:
Originally Posted by ironsamosa View Post
Hi there, would you be kind enough to guide with with what command line statements on how to import a Solidworks or Inventor model or assembly into OpenFoam, then meshing it and then opening in on paraview?





thanks!

A good source is this: http://sourceflux.de/blog/tag/snappyhexmesh/


Long answer is; it's not just a little bit of command line work. Generating a good mesh with open source software is often quite challenging.
yambanshee is offline   Reply With Quote

Old   January 20, 2020, 07:47
Default
  #10
New Member
 
Masoumeh
Join Date: Oct 2019
Posts: 21
Rep Power: 7
ms.hashempour is on a distinguished road
Dear guys

I have solidworks tunnel shape. But I cant using salome. It hangs on and stops working.

What sould I do?
ms.hashempour 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
Importing Solidworks Assembly rmc CFX 3 September 30, 2014 11:34
Fluent OpenFoam comparison kepsilon model alimansouri OpenFOAM Running, Solving & CFD 5 January 19, 2009 10:35
OpenFOAM 13 Intel quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 13 February 5, 2008 06:26
OpenFOAM 13 AMD quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 1 November 11, 2007 00:23
Does OpenFoam have a HybridURANS model andycong OpenFOAM Running, Solving & CFD 2 February 16, 2006 22:20


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