[vtk-developers] A possible bug and questions regarding the "polyhedral challenge" branch

Will Schroeder will.schroeder at kitware.com
Fri Apr 2 07:23:02 EDT 2010


Takuya-

I can't tell you how helpful this is, thank you! And yes we are very
interested, we really want to support the OpenFOAM community.

Hua and I are a bit swamped with other distractions at the moment but
we'll definitely include your contributions, and finish up our
polyhedral work as soon as possible.

Will

On Fri, Apr 2, 2010 at 7:15 AM, Takuya OSHIMA
<oshima at eng.niigata-u.ac.jp> wrote:
> Hi,
>
> If anyone is interested, the attached polyhedralVTK-OpenFOAM.diff is
> what I did to get polyhedral OpenFOAM data loaded into ParaView with
> the procedure I mentioned in my previous post (Any chance it will be
> included in Hua's branch?). For the moment I followed the face point
> ordering of clockwise from inside the cell as it seemed compatible
> with other APIs, e.g. vtkCell::GetFace().
>
> Also, I have uploaded testcases to:
> http://oshima.eng.niigata-u.ac.jp/polyhedronTests.tar.gz
> where there are three cases:
> * 0deg/0deg.foam: a pure split-hex mesh
> * iglooWithFridges/iglooWithFridges.foam: a tutorial case of OpenFOAM
> * polyhedronTest/polyhedronTest.foam: a minimal hand-written mesh
>
> When loading from ParaView, please don't forget to uncheck the
> Decomposed Polyhedra checkbox at the bottom of the reader panel (see
> UncheckDecomposePolyhedra.png). If it is checked, the reader
> decomposes a polyhedron to tets and pyramids. You can also compare by
> turning the box on and off.
>
> Takuya
>
> Takuya OSHIMA, Ph.D.
> Faculty of Engineering, Niigata University
> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>
> From: Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>
>> I checked out a CVS version of ParaView that has the identical date
>> stamp with the polyhedral branch of VTK, replaced the VTK subdirectory
>> with the one, modified the OpenFOAM reader to support vtkPolyhedron,
>> compiled everything, loaded a split-hex polyhedral mesh. It all
>> worked so far:
>> http://oshima.eng.niigata-u.ac.jp/PVvtkPolyhedronScreenshot.png
>>
>> Takuya
>>
>> Takuya OSHIMA, Ph.D.
>> Faculty of Engineering, Niigata University
>> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>



-- 
William J. Schroeder, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
http://www.kitware.com
(518) 881-4902



More information about the vtk-developers mailing list