CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

TetgenToFoam arguments

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 29, 2005, 03:34
Default What do the arguments <
  #1
New Member
 
David Johnston
Join Date: Mar 2009
Posts: 1
Rep Power: 0
davod is on a distinguished road
What do the arguments <root> <case> and <fileprefix> mean in the mesh conversion tools? I probably should know, but I don't, and can't figure it out.
davod is offline   Reply With Quote

Old   June 29, 2005, 04:52
Default root and case are OpenFOAM bas
  #2
New Member
 
Chris Greenshields
Join Date: Mar 2009
Posts: 28
Rep Power: 7
chris is on a distinguished road
root and case are OpenFOAM basics:
http://www.opencfd.co.uk/openfoam/doc/userse6.html

fileprefix means the prefix to the mesh file names. There's something similar in:
http://www.opencfd.co.uk/openfoam/do...-1800006.4.2.7
(I got that by typing 'fileprefix' in the Search on http://www.opencfd.co.uk)
chris is offline   Reply With Quote

Old   August 4, 2008, 03:35
Default Hi, does anyone know, why o
  #3
karen
Guest
 
Posts: n/a
Hi,

does anyone know, why or wheather the tetgenToFoam-utility needs a tetgen-mesh, which is generated with the f-Option?

The reason why I'm asking is, that in my first test of the tetgenToFoam-utility I didn't use this option (tetgen -qa0.05 file.poly) and it seemed to work very well. checkMesh said my mesh is ok. Unfortunately all simulations I tried to do with such a tetgen-mesh lead to a diverging solution. So I thought, the mesh isn't really ok, perhaps.

I looked in the sourcecode of tetgenToFoam and read that you should use the f-option. But with this option I get boundary-marked internal faces in the .face file. So I had to use the -nofaceFile option for tetgenToFoam and so I get of course only one defaultpatch in the boundary-file, also a warning ("found 68 undefined faces in mesh; adding to default patch"). It seems not to work how it should be work. Also I need some different boundary patches.
Without the -nofaceFile option tetgenToFoam doesn't work at all (because of the boundary marked internal faces I think -> FOAM FATAL ERROR: Trying to specify a boundary face ... on the face on cell 0 which is either an internal face or already belongs to some other patch).
For all of that I used OpenFOAM 1.4.1.

Is there anybody who knows something about that? Have I really to use the f-option for generating the tetgen-mesh?

Thanks in advance!
Karen
  Reply With Quote

Old   August 4, 2008, 13:28
Default You'll have to use the -f opti
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
You'll have to use the -f option to output the region information so OF can sort the boundary faces into patches.

Problem is that tetgen seems to include internal faces if they have all three points on the boundary and this is giving problems in the converter.

Can you send me (m dot janssens at opencfd dot co dot uk) some sample files (generated with -f) that don't convert and I'll have a look at it.
mattijs 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
Wrong number of arguments tweety OpenFOAM Native Meshers: blockMesh 2 December 23, 2008 08:26
TetgenToFoam karen OpenFOAM Bugs 2 August 6, 2008 11:27
Commandline options/arguments for menu items? jx FLUENT 2 August 18, 2003 07:29


All times are GMT -4. The time now is 16:20.