Hi Mario,

sending again to the list. the weights have 2 dimensions i (node id) and j (Gauss point id), so to generate ShapeFunctionWeights for a new QuadratureSchemeDefinition what you do is evaluate each shape function at each Gauss point. For the linear quadrilateral you'll end up with 16 weights. For example see the example

http://www.hpcvis.com/vis/images/vtk-quadrature-points-example/vtk-quadrature-points-example.pdf
http://www.hpcvis.com/vis/images/vtk-quadrature-points-example/quadrature-points-example.vtu

Burlen

On 11/29/2013 3:34 PM, Marios Mavros wrote:
Hi Burlen,

I want to thank you for the information that you send me. I read the paper and I try to made a simple example in xml format for a 4 node quadrilateral element but it didn't work for me. Attached you will find the element formulation that I used with the shape functions and a .vtu file with my example. If I want to give 4 stress values in the 4 Gauss points ( lets say 0.1 0.2 0.4 -0.1) can you please write in the .vtu file the missing information in order to understand haw I have to write a correct file in xml format.

Thank you very much

Marios Mavros


On Wed, Nov 27, 2013 at 2:56 PM, Burlen Loring <[email protected] <mailto:[email protected]>> wrote:

    You'll need to use an XML file format. There's some documentation
    in the following link. It's slightly dated but should get you
    started.
    http://www.vtk.org/Wiki/images/7/78/VTK-Quadrature-Point-Design-Doc.pdf
    The ctest,
    VTK/Filters/General/Testing/Cxx/TestQuadraturePoints.cxx, could be
    used as an example.


    On 11/27/2013 02:32 PM, Marios Mavros wrote:
    Hi

    I have wrote a simple program in Fortran that transform the
    output of a finite element software in vtk Legacy Format. I don't
    know how to handle the Gauss points values. For example in my
    case my cells have 4 Gauss points and I have 4 values (for
    example strain in x-direction) for each cell. How I have to write
    the vtk file taking into account that each cell has many Gauss
    points?

    Thank you

    Marios


    _______________________________________________
    Powered bywww.kitware.com  <http://www.kitware.com>

    Visit other Kitware open-source projects 
athttp://www.kitware.com/opensource/opensource.html

    Please keep messages on-topic and check the ParaView Wiki 
at:http://paraview.org/Wiki/ParaView

    Follow this link to subscribe/unsubscribe:
    http://www.paraview.org/mailman/listinfo/paraview



_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to