[Paraview] Visualize quadratic multi cell type in a model

Felipe Bordeu Weldt felipe.bordeu at ec-nantes.fr
Tue Jul 30 03:13:36 EDT 2013


from  ./VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfTopology.h

// Topologies
#define XDMF_NOTOPOLOGY     0x0
#define XDMF_POLYVERTEX     0x1
#define XDMF_POLYLINE       0x2
#define XDMF_POLYGON        0x3
#define XDMF_TRI            0x4
#define XDMF_QUAD           0x5
#define XDMF_TET            0x6
#define XDMF_PYRAMID        0x7
#define XDMF_WEDGE          0x8
#define XDMF_HEX            0x9
#define XDMF_EDGE_3         0x0022
#define XDMF_TRI_6          0x0024
#define XDMF_QUAD_8         0x0025
#define XDMF_QUAD_9         0x0023
#define XDMF_TET_10         0x0026
#define XDMF_PYRAMID_13     0x0027
#define XDMF_WEDGE_15       0x0028
#define XDMF_WEDGE_18       0x0029
#define XDMF_HEX_20         0x0030
#define XDMF_HEX_24         0x0031
#define XDMF_HEX_27         0x0032
#define XDMF_MIXED          0x0070
#define XDMF_2DSMESH        0x0100
#define XDMF_2DRECTMESH     0x0101
#define XDMF_2DCORECTMESH   0x0102
#define XDMF_3DSMESH        0x1100
#define XDMF_3DRECTMESH     0x1101
#define XDMF_3DCORECTMESH   0x1102

Le 30 juil. 2013 à 01:18, Babak Poursartip <babakpst at gmail.com> a écrit :

> 
> Hello,
> 
> I would like to visualize a model which has a mixture of quadratic elements "Quad_8" and "Tri_6" in it. 
> 
> I use the following lines for "linear elements" and everything is fine, but the case of "Quadratic elements" it does not work.
> 
> <Topology TopologyType="Mixed" NumberOfElements="3" >
> <DataItem Format="XML" DataType="Int" Dimensions="20">
> 6 0 1 2 7
> 3 4 4 5 6 7
> 9 8 9 10 11 12 13 14 15
> </DataItem>
> </Topology>
> 
> from: http://www.xdmf.org/index.php/XDMF_Model_and_Format
> 
> It seems that the cell type number I am using is wrong. I found somewhere on the web that the cell type number for Quad_8 is 25 and for Tri_6 is 24. 
> 
> Does anybody know about the cell type number for Quad_8 and Tri_6?
> 
> Regards,
> Babak
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130730/1352a332/attachment-0001.htm>


More information about the ParaView mailing list