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

[Other] TetgenToFoam arguments

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2005, 03:34
Default TetgenToFoam 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: 17
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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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


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
Help with if statement CHARLES OpenFOAM Programming & Development 17 August 22, 2021 03:14
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
compile errors of boundary condition "expDirectionMixed" liying02ts OpenFOAM Bugs 2 February 1, 2010 20:11


All times are GMT -4. The time now is 03:11.