CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Gather the internal mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2006, 16:30
Default Gather the internal mesh
  #1
Member
 
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17
tj22 is on a distinguished road
I have been looking through your vtkFoamReader and I located from which result file you are gathering the patch information, "boundary", but I cant seem to locate how you are acquiring the information for the internal mesh. Would you be willing to point me in the direction of that file(s)?

Thanks
tj22 is offline   Reply With Quote

Old   April 14, 2006, 05:25
Default points : coordinates of vertic
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
points : coordinates of vertices
faces : vertices per face
owner/neighbour: neighbouring cell per face
boundary : slices of face list

See section 6 of the manual (though that still refers to a 'cells' file which is the inverse of the owner/neighbour)

Also there is quite a lot on this forum. Search for polyMesh
mattijs is offline   Reply With Quote

Old   April 14, 2006, 09:33
Default thanks alot. yeah i saw that
  #3
Member
 
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17
tj22 is on a distinguished road
thanks alot. yeah i saw that cell file in the manual and was a little confused that I couldnt find it in any of the tutorials.
tj22 is offline   Reply With Quote

Old   April 17, 2006, 14:29
Default Since there is no longer a cel
  #4
Member
 
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17
tj22 is on a distinguished road
Since there is no longer a cells file there seems to be no more specification of the cell type. Does thie mean you have switched to having all polyhedrons? If not where are the cell types located? or do I have to derive them from the data?

Thanks.
tj22 is offline   Reply With Quote

Old   April 18, 2006, 04:28
Default Yes, we have switched to polyh
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
Yes, we have switched to polyhedra in about 1998 :-) The cells file just used to list the cell faces without reference to cell type. Now the output format has been changed to write the owne and neighbour for all faces instead, which is the same thing.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   April 18, 2006, 09:22
Default I guess I should clarify. The
  #6
Member
 
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17
tj22 is on a distinguished road
I guess I should clarify. The cell types listed in your document are still used, correct? hex,wedge,prism,pyramid,tet,tet-wedge?
tj22 is offline   Reply With Quote

Old   June 22, 2006, 14:11
Default It is possible to use other po
  #7
Member
 
Oliver Borm
Join Date: Mar 2009
Posts: 60
Rep Power: 17
deepblue17 is on a distinguished road
It is possible to use other polyhedrons, like
dodecahedrons?
deepblue17 is offline   Reply With Quote

Old   June 22, 2006, 15:00
Default I thought a dodecahedron is a
  #8
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
I thought a dodecahedron is a polyhedron (it is), which rather answers your question. OpenFOAM mesh classes support arbitrary polyhedral including the ones you mention.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 23, 2006, 07:51
Default How can I produce a mesh with
  #9
Member
 
Oliver Borm
Join Date: Mar 2009
Posts: 60
Rep Power: 17
deepblue17 is on a distinguished road
How can I produce a mesh with dodecahedrons with the blockMesh utility? Or do I need an external mesh generator?
deepblue17 is offline   Reply With Quote

Old   June 23, 2006, 10:01
Default blockMesh will only do hexes a
  #10
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
blockMesh will only do hexes and some pyramids etc for you - in order to create dodecahedra, you can either use polyDualMesh (Mattijs can tell you more) or use an external mesh generator.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
[ICEM] Nuclear fuel assembly, Mesh Check: "missing internal faces, uncovered faces" swparth ANSYS Meshing & Geometry 2 June 27, 2017 07:12
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


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