[vtkusers] XDMF question: cell based data on subsets

Blaise A Bourdin bourdin at lsu.edu
Sun Jun 15 19:01:35 EDT 2014


Hi,

Sorry if the is not the best place for this question. I am hoping that there are enough people familiar with XDMF in this list to answer this question.

I have unstructured meshes consisting of multiple element blocks. For some reasons, the element blocks are not numbered sequentially (i.e. block 1 may be cell 1,2 and block 2 cell 0,3), and the cell-based fields are stored in a single array (i.e. given for the whole mesh instead of each cell set).
Does anybody know how to handle such data in xdmfother than reordering the data in the hdf5 file? The documentation describes a “Coordinates” DataItem that may do exactly that, but I can’t figure out how to do it.

I am attaching a simple xdmf file containing all the mesh data. I have represented the cell sets in two different ways: as standalone grids or a subset of a full grid. Note that whereas nodal variables are displayed correctly, cell-based ones are not.

Thanks,

Blaise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MultiBlock.xmf
Type: application/octet-stream
Size: 5511 bytes
Desc: MultiBlock.xmf
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140615/1b4f7a80/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140615/1b4f7a80/attachment.txt>


More information about the vtkusers mailing list