[vtkusers] Unstructured Grid .vtk format

Yogesh Kumar yogeshkumar114 at gmail.com
Thu Mar 1 03:46:01 EST 2012


Hello David,

Thanks for the reply.

I just want to know about the vtk file format. As I mentioned before I
am writing the output of my FEM code in *.vtk format. I have
unstructured grid and in the output file I want to write two different
point_data, one for the undeformed and deformed coordinates and one
for stress value at Gauss point. The point_data for stress value is
more then the other one. Is it possible to write in that format. Or is
there is any another way to do that. I must want unstructured grid
because in future I need to use vtk_quadratic_tetra.

Thanks

-Yogesh


On Wed, Feb 29, 2012 at 9:13 PM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> See: http://www.vtk.org/Wiki/VTK/VTK_integration_point_support
> And VTK/Graphics/Testing/Cxx/TestQuadraturePoints.cxx
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
>
> On Wed, Feb 29, 2012 at 2:55 PM, Yogesh Kumar <yogeshkumar114 at gmail.com> wrote:
>> Hello guys,
>>
>> My name is Yogesh. I am doing my master thesis at FAU Erlangen. I have a
>> question about unstructured grid. We have a solver and I want to make the
>> ouput in the .vtk format in order to visualized the result in paraview.
>>
>> The input of the solver is GiD based mesh file and output is the stress
>> value at Gauss points and position of deformed and undeformed coordinates.
>> The input files are 2D structure such as square plate or beam. In the
>> preprocessor I am defining the number of elements and the mesh type is the
>> quad element with nine nodes.
>>
>> So in the example of square plate let say I have four elements and each
>> element have nine nodes and nine Gauss points. Node points are at the
>> boundary of the element and Gauss points are inside of each  element. So in
>> this example I have total 25 node points and 36 Gauss points (9*4).  The
>> stress values are define on Gauss points and deformed and undeformed values
>> are define at node points.
>>
>> So I want to write the node point value and stress point value in vtk
>> format. But the problem is that I have 25 nodes values and 36 stress value.
>> Because the point data is 25 and I am not able to store all the 36 points
>> stress values.
>>
>> Is there is any way that I can write the 25 point_data for nodes and 36
>> point_data for Gauss points?
>>
>> or is there is any other way to store the values in order to see the result
>> file in paraview?
>>
>> An example file will be very helpful.
>>
>> thanks in advance ..
>>
>> -Yogesh
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list