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

Looking for a tutorial to use CAD

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 8, 2007, 05:18
Default hi all, I am new to openFo
  #1
pvc
Guest
 
Posts: n/a
hi all,

I am new to openFoam and I would like to run it with DNS into geometries previously designed in a CAD package. Actually, I have Solidworks so I can generate stl, step ...

I am a bit confused with the way to go because I had been told that OpenFoam would create a specific mesh to deal with DNS, So starting from a mesh looks weird, why not from a basic geometry?

AnyHow, is there a forum/topic/tutorial/webpage I have missed where I can see how to prompt blockmeshdict to consider my geometry and run a case?

Rgds

Pvc
  Reply With Quote

Old   May 8, 2007, 17:51
Default I think like many finite volum
  #2
Senior Member
 
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 8
billy is on a distinguished road
I think like many finite volume solvers, OpenFOAM works better with a nice orthogonal hexahedral mesh. The problem is to generate that mesh with a free open source mesh generator. It's a pitty Cubit isn't open source it seems like a perfect mesh generator for OpenFOAM.
billy is offline   Reply With Quote

Old   May 9, 2007, 08:26
Default What about Netgen? It can prod
  #3
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 9
sradl is on a distinguished road
What about Netgen? It can produce nice tetrahedal meshes.

Has anyone experience if its worth trying Cubit instead of Netgen to have hexahedral meshes?

Cheers
Stefan
sradl is offline   Reply With Quote

Old   May 9, 2007, 19:21
Default As far as i know you won't be
  #4
New Member
 
Peter Hering
Join Date: Mar 2009
Posts: 7
Rep Power: 8
peterh is on a distinguished road
As far as i know you won't be able to get your hands on a copy of Cubit unless you pay 300$... (if I'm wrong, please tell me where to get a free copy of the software if its possible)

What I think would be a nice way to produce hexahedral meshes for OF is some kind of graphical "blockMeshDict-generator". It wouldn't get that complicated to produce meshes with more than say 4-6 blocks or so in a simple textfile. Perhaps m4 is a good way to go, but it's still quite messy...

For the meshing, you could try harpoon, it can read .stl and produces hex-dominant meshes, and it has a native OpenFoam export function. You can get a trialversion for free. Since i got my key yesterday, i didn't have the time to play around with it..

Does anyone have some experience with harpoon?

Peter
peterh is offline   Reply With Quote

Old   May 9, 2007, 19:52
Default Hi, How much does harpoon c
  #5
Senior Member
 
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 8
billy is on a distinguished road
Hi,

How much does harpoon cost? I would also like to know which is the best mesh generator in the market or with the best quality/cost ratio.
billy is offline   Reply With Quote

Old   May 10, 2007, 11:50
Default Sandia does charge $300 for a
  #6
New Member
 
Karl Merkley
Join Date: Mar 2009
Location: USA
Posts: 2
Rep Power: 0
kgmerk is on a distinguished road
Sandia does charge $300 for a research license mostly to cover the administrative costs of handling their required licensing procedure. It'll cost _much_ more to get a commercial license of Cubit because there is a large cost associated with some commercial 3rd party libraries.

I'm looking at adding export capabilities to Cubit to support OpenFOAM. We've recently added a CGNS export. What would be the preferred export format from this group?
kgmerk is offline   Reply With Quote

Old   May 10, 2007, 14:31
Default Did anyone of you used SolidWo
  #7
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 9
paka is on a distinguished road
Did anyone of you used SolidWorks? VectorWorks?
Thanks,
K
paka is offline   Reply With Quote

Old   May 11, 2007, 03:39
Default Hi Peter, I read that you s
  #8
lam
Member
 
Hoang-Lam
Join Date: Mar 2009
Location: Lausanne, Switzerland
Posts: 60
Rep Power: 8
lam is on a distinguished road
Hi Peter,

I read that you said you received a key from Harpoon?
How did you do?
I filled something to request a key (otherwise, I saw that Harpoon does not work)on their site 4 days ago, but I have not received any thing.
How long had you waited for?


Lam
lam is offline   Reply With Quote

Old   May 11, 2007, 10:55
Default Hey Lam, they need some tim
  #9
New Member
 
Peter Hering
Join Date: Mar 2009
Posts: 7
Rep Power: 8
peterh is on a distinguished road
Hey Lam,

they need some time to process your request, in my case, I was waiting for about ten days .

Perhaps it took them so long because i got my key from the german retailer, and not directly from Sharc.

Peter
peterh is offline   Reply With Quote

Old   May 15, 2007, 03:38
Default Hi Peter, So I have to wait
  #10
lam
Member
 
Hoang-Lam
Join Date: Mar 2009
Location: Lausanne, Switzerland
Posts: 60
Rep Power: 8
lam is on a distinguished road
Hi Peter,

So I have to wait.

But if you try Harpoon, maybe you can tell use if Harpoon can make nice mesh for Foam.

See you,

Lam
lam is offline   Reply With Quote

Old   May 15, 2007, 08:47
Default Hey Karl, what about a free
  #11
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 9
sradl is on a distinguished road
Hey Karl,

what about a free trial version of cubit? I'd like to test it for importing a *.stl file from SolidWorks.
Since OpenFOAM can convert several mesh formats (see http://www.opencfd.co.uk/openfoam/in...meshConversion)
and I'm currently working with NetGen, I'd prefer the "Netgen Natural format". It is basically a list of points and indices for connection.

cheers
Stefan
sradl is offline   Reply With Quote

Old   July 28, 2007, 16:36
Default Hi Karl & Bill, we now have
  #12
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 9
sradl is on a distinguished road
Hi Karl & Bill,

we now have an academic version of CUBIT and I tried to export an ideas mesh file. I used ideasUnvToFoam to import and it seems to work. However (beside some minor warnings), the program aborts with the error message "cell type 171 not supported" when it reads the cell information.

I also tried patran neutral and abaqus files without success.

Any help appreciated!

br
Stefan Radl
sradl is offline   Reply With Quote

Old   October 11, 2007, 05:10
Default Hi all, i am a new user of
  #13
New Member
 
soufymer
Join Date: Mar 2009
Posts: 5
Rep Power: 8
soufy is on a distinguished road
Hi all,

i am a new user of openfoam. and i find a diffeculty to use it . please i need a help.
my question is: it is possible to import a geometrie in formet ".step " from a CAD ( for exemple solidworks ).
because for the complexe geometrie it's difficult.
please it's urgent!!!!!
soufy is offline   Reply With Quote

Old   October 11, 2007, 05:13
Default look into "salome" free softwa
  #14
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 9
sradl is on a distinguished road
look into "salome" free software, it should work with your geometry file forma
sradl is offline   Reply With Quote

Old   October 11, 2007, 05:25
Default Hi ok , i will try it. bu
  #15
New Member
 
soufymer
Join Date: Mar 2009
Posts: 5
Rep Power: 8
soufy is on a distinguished road
Hi
ok , i will try it.

but it not possible that i do my geometrie in solidworks and i import it in openfoam "in any format compatible " because i know how to use solidworks well. so salome it the first time that i know it.

tanks for help
soufy is offline   Reply With Quote

Old   October 11, 2007, 05:41
Default hi, what is the version de sa
  #16
New Member
 
soufymer
Join Date: Mar 2009
Posts: 5
Rep Power: 8
soufy is on a distinguished road
hi,
what is the version de salome software that's works well with fedora


tanks
soufy is offline   Reply With Quote

Old   October 11, 2007, 07:04
Default SALOME 3.2.6 works with Fedora
  #17
Member
 
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 8
benru is on a distinguished road
SALOME 3.2.6 works with Fedora, Debian & etc, but (as usual) you (perhaps) will need to do something "with arms" (install additional packages & etc). SALOME gives ability to create both tetrahedral and hexahedral meshes (and compound mesh too).
benru is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
---------Tutorial help mech FLUENT 4 May 16, 2007 02:43
tutorial 6 in Fluent 6.2 tutorial and Mesh pilli4u FLUENT 2 April 2, 2007 05:09
3D Tutorial MJ FLUENT 0 January 16, 2007 09:45
tutorial masood yooceframandi FLUENT 1 January 25, 2005 13:28
tutorial adil FLUENT 0 March 8, 2004 04:48


All times are GMT -4. The time now is 19:48.