<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>I am attempting to
write out a .vtu file, and I can't seem to get ParaView to read in the file. I'm
assuming I'm doing something wrong, so please tell me where the problem
is.</FONT></SPAN></DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>The vtk file (which
works) and the .vtu file (in ascii- which doesn't work) are given below.
Please tell me where the mistake is.</FONT></SPAN></DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>I want to eventually
write binary .pvtu files, but hopefully this will be easy to write assuming I
can write an ascii .vtu file first.</FONT></SPAN></DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2>Scott</FONT></SPAN></DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2># vtk DataFile
Version 2.0</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>ASCII<BR>DATASET
UNSTRUCTURED_GRID</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>POINTS 6
float<BR>0.000 2.000 0.000<BR>1.000
2.000 2.000<BR>2.000 2.000
0.000<BR>0.000 0.000 0.000<BR>1.000
0.000 2.000<BR>2.000 0.000
0.000</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>CELLS 1 7<BR>6 0 1 2
3 4 5 </FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>CELL_TYPES 1
<BR>13</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>POINT_DATA
6</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>FIELD FieldData
1</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>stress 1 6
float<BR>4999.9999 <BR>18749.9999 <BR>37500.0000 <BR>56250.0000 <BR>74999.9999
<BR>93750.0001 <BR></FONT></SPAN></DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2>The .vtu file looks
like</FONT></SPAN></DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=761572918-19022003><FONT face=Arial size=2><VTKFile
type="UnstructuredGrid" version="0.1" byte_order="LittleEndian"><BR>
<UnstructuredGrid><BR> <Piece NumberOfPoints="6"
NumberOfCells="1"><BR>
<Points><BR> <DataArray type
= "float" NumberOfComponents="3"
format="ascii"><BR>
0.000000 2.000000 0.000000 1.000000 2.000000 2.000000 2.000000 2.000000 0.000000
0.000000 0.000000 0.000000 1.000000 0.000000 2.000000 2.000000 0.000000 0.000000
<BR>
</DataArray><BR>
</Points><BR>
<Cells><BR> <DataArray
type="Int32" Name="connectivity"
format="ascii"><BR> 0 1
2 3 4 5 <BR>
</DataArray><BR> <DataArray
type="Int32" Name="offsets"
format="ascii"><BR> 6
<BR>
</DataArray><BR> <DataArray
type="UInt8" Name="types"
format="ascii"><BR> 13
<BR>
</DataArray><BR>
</Cells><BR>
<PointData><BR> <DataArray
type="float" Name="stress"
format="ascii"><BR>
5000.000000 18750.000000 37500.000000 56250.000000 75000.000000 93750.000000
<BR>
</DataArray><BR>
</PointData><BR> </Piece><BR>
</UnstructuredGrid><BR></VTKFile></DIV></FONT></SPAN></BODY></HTML>