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

Free mesh program!!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 10, 2010, 08:19
Post Free mesh program!!
  #1
New Member
 
Abdel
Join Date: Jul 2010
Posts: 28
Rep Power: 7
bruxellois4 is on a distinguished road
I need a free mesh program to use with openFOAM!!

S.O has an idea

thanks
bruxellois4 is offline   Reply With Quote

Old   July 10, 2010, 11:15
Default
  #2
Senior Member
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin,Ireland
Posts: 570
Rep Power: 19
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi,


Check out the following:

blockMesh - built-in OpenFOAM utility for simple geometry
polyDualMesh - built-in OpenFOAM utility for simple geometry for converting tet to poly but requires an initial mesh
snappyHexMesh - built-in OpenFOAM utility and described in User Guide
Gmsh - http://geuz.org/gmsh/ - tetrahedral meshing software
IA-FEMesh - http://www.ccad.uiowa.edu/mimx/IA-FEMesh/ - hex meshing for complex geometries
enGrid - http://www.ohloh.net/p/engrid - nice for producing good boundary layers
Calculix - http://www.calculix.de/

Hmmnn there are probably a few other good ones too, it really depends on what you are looking for i.e. what type of geometry?


Hope this helps,
Philip
bigphil is offline   Reply With Quote

Old   July 10, 2010, 12:44
Default more meshing
  #3
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 579
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
do not to forget salome http://www.salome-platform.org/
http://www.caelinux.org/wiki/index.php/Doc:CAETutorials
better
http://www.caelinux.org/wiki/index.p...ELinux_2007.29

or discretizer
http://www.discretizer.org/
this program is specially designed for use with OpenFOAM
elvis is offline   Reply With Quote

Old   July 10, 2010, 15:05
Default
  #4
New Member
 
Abdel
Join Date: Jul 2010
Posts: 28
Rep Power: 7
bruxellois4 is on a distinguished road
Hi!!

thanks a lot!!

I have to simulate the exhaust gas from a muzzle of a gun, according to you which is the better?

This work was done with fluent so i have the mesh files (*.msh) done at the gambit to fluent format, i tried to convert them but that doesn't work: i receive this message :
Build : 1.7.0-279cc8e8233b
Exec : fluentMeshToFoam calibre 12_7.msh
Date : Jul 10 2010
Time : 20:47:55
Host : moumen-laptop
PID : 2005
Case : /home/moumen/tfe
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



--> FOAM FATAL IO ERROR:
cannot open file

file: /home/moumen/tfe/system/controlDict at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 61.

FOAM exiting
Any idea plz?
bruxellois4 is offline   Reply With Quote

Old   July 10, 2010, 17:22
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Abdel,
Quote:
Originally Posted by bruxellois4 View Post
--> FOAM FATAL IO ERROR:
cannot open file

file: /home/moumen/tfe/system/controlDict at line 0.
It seems that you are trying to convert the mesh outside of an OpenFOAM case! And since you are running a conversion tool *ToFoam, you need to create a case structure (i.e., the files and folders) compliant with OpenFOAM's needs

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 10, 2010, 21:06
Default
  #6
New Member
 
Abdel
Join Date: Jul 2010
Posts: 28
Rep Power: 7
bruxellois4 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Abdel,

It seems that you are trying to convert the mesh outside of an OpenFOAM case! And since you are running a conversion tool *ToFoam, you need to create a case structure (i.e., the files and folders) compliant with OpenFOAM's needs

Best regards,
Bruno
I tried to convert the mesh using the prism case (sonic foam) i've put my file *.msh in constant folder (i keep the others folders w/o change), i'v received the same error message,

Best regards
bruxellois4 is offline   Reply With Quote

Old   July 11, 2010, 06:17
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hmmm... Then my suggestion is to try this tutorial case instead:
Code:
tutorials/incompressible/icoFoam/elbow
In the icoFoam folder you have an Allrun script, and near its end are the commands for running the elbow case.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 11, 2010, 06:38
Default
  #8
New Member
 
Abdel
Join Date: Jul 2010
Posts: 28
Rep Power: 7
bruxellois4 is on a distinguished road
Greetings Bruno!!

It works but i didn't find the blokMeshdict i have only neighbour, faces, facesZones, owner, point ans pontZones,
so i can't run ''blockMesh''

Thanks a lot for your help!
bruxellois4 is offline   Reply With Quote

Old   July 11, 2010, 06:47
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,511
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Wait, what? blockMesh?
The elbow case doesn't use blockMesh! The code lines in"tutorials/incompressible/icoFoam/Allrun"I was talking about are these:
Code:
runFluentMeshToFoam elbow elbow/elbow.msh
(cd elbow && runApplication $application)
(cd elbow && runApplication foamMeshToFluent)
(cd elbow && runApplication foamDataToFluent)
Oh, and runFluentMeshToFoam is actually this (also inside Allrun):
Code:
runFluentMeshToFoam ()
{
    echo "fluentMeshToFoam: converting mesh $2"
    fluentMeshToFoam $2 -case $1 > $1/log.fluentMeshToFoam 2>&1
}
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 11, 2010, 07:00
Default
  #10
New Member
 
Abdel
Join Date: Jul 2010
Posts: 28
Rep Power: 7
bruxellois4 is on a distinguished road
I'm sorry but now i'm not understanding you,
what they mean this codes, i can't execute them there are lot of error,
How can I visualize my mesh after conversion, is that possible to do that w/o excute blockMesh

I'm sorry if my questions seems to be poor
bruxellois4 is offline   Reply With Quote

Old   July 12, 2010, 05:38
Default
  #11
New Member
 
Join Date: May 2010
Location: Cologne
Posts: 27
Rep Power: 7
marcbest is on a distinguished road
hi abdel,

there are no poor questions...
you can only use blockMesh, if you wrote your mesh-data by hand in the blockMeshDict-file (defining points and patches etc.)

but if you're converting your mesh there can't be a blockMeshDict file. to see the mesh you must execute (in the case directory)

foamToVTK

and then you can run paraView and File/Open the "VTK" folder and selct the ....vtk file then "OK" and at "Properties" click "Apply", after this you must select "Wireframe" instead of "Surface". now you should see the mesh
marcbest is offline   Reply With Quote

Old   July 12, 2010, 06:24
Default
  #12
New Member
 
Abdel
Join Date: Jul 2010
Posts: 28
Rep Power: 7
bruxellois4 is on a distinguished road
Hi marcbest!

Thanks a lot for your response.
I tried to see my mesh w/o execute foamToVTK, is tha true?

thanks

Best regards,
bruxellois4 is offline   Reply With Quote

Old   July 12, 2010, 07:55
Default
  #13
New Member
 
Join Date: May 2010
Location: Cologne
Posts: 27
Rep Power: 7
marcbest is on a distinguished road
ok i'm working with OF1.5 at the moment and there you have to use foamToVTK, but in OF1.6 and 1.7 you don't have to convert the mesh into VTK-format. you only have to run paraFoam that's correct.
regards

Last edited by marcbest; July 12, 2010 at 08:28.
marcbest is offline   Reply With Quote

Old   July 12, 2010, 09:04
Default
  #14
New Member
 
Abdel
Join Date: Jul 2010
Posts: 28
Rep Power: 7
bruxellois4 is on a distinguished road
OK, i'm working with openFOAM 1.7 so i didn't find any difference between using paraFoam directly and VTK-format.

My original mesh (*.msh) was axysymetric, it think that is not so yet.I think that i have to chek that and add a wedge patch, is that possible?

Is there a tutorial case with axysymetrie?

Best regards.
bruxellois4 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
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 01:27
Mesh @ Free Surface MAB CFX 7 May 29, 2008 04:48
Free Rotational Mesh Deformation Juan Maria CFX 0 February 8, 2008 06:54
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10
Gmsh, a free Mesh Generator, Volunteers needed Ahmed Main CFD Forum 0 December 6, 2006 06:26


All times are GMT -4. The time now is 07:29.