[Paraview-developers] .vtu 3D format output

Cory Quammen cory.quammen at kitware.com
Mon Jun 29 23:16:45 EDT 2015


Tim,

In the file you provided, I changed<Pointdata> to <PointData> and
<Celldata> to <CellData> and was able to load the data arrays.

Let us know if that didn't help.

Thanks,
Cory

On Thu, Jun 25, 2015 at 11:58 AM, damuzo <timrunkel at gmx.net> wrote:

> Hello guys,
>
> I am pretty new to paraview. My task seems realy simple, but I am near
> desperation now.
> I have written a fortran file to visualize a microstructure which is create
> and evolved in a FEM programme.
>
> It is a simple cube with a various number of cells. (I will attach my .vtu
> file below this message.) The generation of the geometry works fine, but I
> cannot see any variables in paraview. I try to use a voxel type Element.
>
> Does anybody know why this happens?
>
> Regards,
> Tim
>
> .vtu file below
> ___________________________________________________________________________
>
> <?xml version="1.0"?>
> <VTKFile type="UnstructuredGrid" version="0.1">
> <UnstructuredGrid>
> <Piece NumberOfPoints="    8" NumberOfCells="    1">
> <Points>
> <DataArray type="Float64"  Name="nodes" NumberOfComponents=" 3"
> format="ascii">
>   0.00000000E+00  0.00000000E+00  0.00000000E+00  0.10000000E+01
> 0.00000000E+00  0.00000000E+00  0.00000000E+00  0.10000000E+01
> 0.00000000E+00  0.10000000E+01  0.10000000E+01  0.00000000E+00
> 0.00000000E+00  0.00000000E+00  0.10000000E+01  0.10000000E+01
> 0.00000000E+00  0.10000000E+01  0.00000000E+00  0.10000000E+01
> 0.10000000E+01  0.10000000E+01  0.10000000E+01  0.10000000E+01 </DataArray>
> </Points>
> <Cells>
> <DataArray type="Int32"  Name="connectivity" NumberOfComponents=" 1"
> format="ascii">
>        0       1       2       3       4       5       6       7
> </DataArray>
> <DataArray type="Int32"  Name="offsets" NumberOfComponents=" 1"
> format="ascii">
>      8 </DataArray>
> <DataArray type="UInt8"  Name="types" NumberOfComponents=" 1"
> format="ascii">
>     11 </DataArray>
> </Cells>
> <Pointdata>
> <DataArray type="Float64"  Name="disp" NumberOfComponents=" 3"
> format="ascii">
>   0.00000000E+00  0.00000000E+00  0.00000000E+00  0.00000000E+00
> 0.00000000E+00  0.00000000E+00  0.00000000E+00  0.00000000E+00
> 0.00000000E+00  0.00000000E+00  0.00000000E+00  0.00000000E+00
> 0.00000000E+00  0.00000000E+00  0.00000000E+00  0.00000000E+00
> 0.00000000E+00  0.00000000E+00  0.00000000E+00  0.00000000E+00
> 0.00000000E+00  0.00000000E+00  0.00000000E+00  0.00000000E+00 </DataArray>
> </Pointdata>
> <Celldata>
> <DataArray type="Float64"  Name="sig                        "
> NumberOfComponents=" 6" format="ascii">
>   0.00000000E+00  0.00000000E+00  0.00000000E+00  0.00000000E+00
> 0.00000000E+00  0.00000000E+00 </DataArray>
> <DataArray type="Float64"  Name="sig_eq                     "
> NumberOfComponents=" 1" format="ascii">
>   0.00000000E+00 </DataArray>
> <DataArray type="Float64"  Name="eps_eq                     "
> NumberOfComponents=" 1" format="ascii">
>   0.00000000E+00 </DataArray>
> <DataArray type="Float64"  Name="Eta1                       "
> NumberOfComponents=" 1" format="ascii">
>   0.00000000E+00 </DataArray>
> <DataArray type="Float64"  Name="eulerx                     "
> NumberOfComponents=" 1" format="ascii">
>   0.00000000E+00 </DataArray>
> </Celldata>
> </Piece>
> </UnstructuredGrid> </VTKFile>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/vtu-3D-format-output-tp3850.html
> Sent from the The Unofficial ParaView Developers Forum mailing list
> archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20150629/12db98df/attachment.html>


More information about the Paraview-developers mailing list