在Paraview中显示一个Tensor6单元格属性



i在HDF5文件中有一些数据,还包含每个单元格元素的应力和应变张量。我创建了一个XDMF文件来描述数据,其中的一部分如下:

 <Attribute Name="Displacement" AttributeType="Vector" Center="Node">
   <DataItem Dimensions="2673 3" Format="HDF" NumberType="Float" Precision="8" >
     cubetest2.h5:/Solution/Nodal displacements
   </DataItem>
 </Attribute>
 <Attribute Name="Force" AttributeType="Vector" Center="Node">
   <DataItem Dimensions="2673 3" Format="HDF" NumberType="Float" Precision="8" >
     cubetest2.h5:/Solution/Nodal forces
   </DataItem>
 </Attribute>
 <Attribute Name="eleStrain" AttributeType="Tensor6" Center="Cell">
   <DataItem Dimensions="2048 6" Format="HDF" NumberType="Float" Precision="8" >
       cubetest2.h5:/Solution/Element strain
   </DataItem>
 </Attribute>
 <Attribute Name="eleStress" AttributeType="Tensor6" Center="Cell">
   <DataItem Dimensions="2048 6" Format="HDF" NumberType="Float" Precision="8" >
       cubetest2.h5:/Solution/Element stress
   </DataItem>
 </Attribute>

虽然矢量值仅读取良好,而我可以创建向量字形,但"张量"过滤器始终被弄清。我怀疑Paraview在六个中的9个组件中创建了一个张量,但是张量字形的文档指出它需要六个值。

如何显示张量,即告诉Paraview不要创建完整的对称张量?

Tensor Glyph滤波器不支持单元数据操作。

您应该首先使用Cell Data To Point Data过滤器将Dell数据转换为指向数据。

最新更新