CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   Gather the internal mesh (http://www.cfd-online.com/Forums/openfoam-paraview/61267-gather-internal-mesh.html)

tj22 April 13, 2006 16:30

I have been looking through yo
 
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

mattijs April 14, 2006 05:25

points : coordinates of vertic
 
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

tj22 April 14, 2006 09:33

thanks alot. yeah i saw that
 
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 April 17, 2006 14:29

Since there is no longer a cel
 
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.

hjasak April 18, 2006 04:28

Yes, we have switched to polyh
 
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

tj22 April 18, 2006 09:22

I guess I should clarify. The
 
I guess I should clarify. The cell types listed in your document are still used, correct? hex,wedge,prism,pyramid,tet,tet-wedge?

deepblue17 June 22, 2006 14:11

It is possible to use other po
 
It is possible to use other polyhedrons, like
dodecahedrons?

hjasak June 22, 2006 15:00

I thought a dodecahedron is a
 
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

deepblue17 June 23, 2006 07:51

How can I produce a mesh with
 
How can I produce a mesh with dodecahedrons with the blockMesh utility? Or do I need an external mesh generator?

hjasak June 23, 2006 10:01

blockMesh will only do hexes a
 
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


All times are GMT -4. The time now is 02:26.