Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,846
    • Issues 1,846
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 91
    • Merge requests 91
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #20681

Closed
Open
Created Apr 28, 2021 by Mathieu Westphal@mwestphalMaintainer

XML Writer create multiblock root associated FieldData TimeValue with temporal dataset

Opening a temporal multiblock dataset then saving the data as a .vtm file create a multiblock root associated FieldData with strange effect in ParaView. Using root associeated field data can have unintended effects in ParaView:

  • #18617 (closed)
  • #19502
  • #18247
  • #18212
  • #15849

Steps to reproduce:

  • Open ParaView
  • Open can.ex2, Apply
  • Save data as a .vtm file
  • Inspect .vtm file

The resulting field data is visible in the .vtm file

<VTKFile type="vtkMultiBlockDataSet" version="1.0" byte_order="LittleEndian" header_type="UInt64">
  <vtkMultiBlockDataSet>
    <Block index="0" name="Element Blocks">
      <DataSet index="0" name="Unnamed block ID: 1 Type: HEX" file="testCan/testCan_0_0.vtu"/>
      <DataSet index="1" name="Unnamed block ID: 2 Type: HEX" file="testCan/testCan_1_0.vtu"/>
    </Block>
    <Block index="4" name="Side Sets">
      <DataSet index="0" name="Unnamed set ID: 4"/>
    </Block>
    <Block index="7" name="Node Sets">
      <DataSet index="0" name="Unnamed set ID: 1"/>
      <DataSet index="1" name="Unnamed set ID: 100"/>
    </Block>
  </vtkMultiBlockDataSet>
  <FieldData>
    <DataArray type="Float64" Name="TimeValue" NumberOfTuples="1" format="binary" RangeMin="0" RangeMax="0">
      CAAAAAAAAAAAAAAAAAAAAA==
    </DataArray>
  </FieldData>
</VTKFile>

Another approach would be to write the field data on each leaf node instead.

Edited Apr 29, 2021 by Mathieu Westphal
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking