<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText94734 dir=ltr>
<DIV dir=ltr><FONT face=±¼¸² color=#000000 size=2>
<DIV dir=ltr><FONT face=±¼¸² color=#000000 size=2>
<P>Hi !</P>
<P>I am trying to write vtk input file(*.vtk), which has geometry(points, cells, vector, temperature)&nbsp;and particles(position,&nbsp;size)&nbsp;data.</P>
<P>However both data have different points sizes.</P>
<P>How can I combine the data in one file? In general each vtk legacy format has only one defined dataset type(unstructured_grid, polydata) with a constant points/cells size.&nbsp;</P>
<P>Any information(approach methods, simple examples&nbsp;or experiences)&nbsp;to make the input vtk file or to program a&nbsp;C++ code would be very much appreciated.</P>
<P>Best Regards,</P>
<P><FONT face=±¼¸²,Gulim size=2><FONT face=±¼¸²,Gulim>Je-Hyun</FONT>g Lee, Dr.-Ing.</FONT></P>
<P>--------------------------</P>
<P>example data;</P>
<P># vtk DataFile Version 3.0<BR>Cube Unstructured Grid CUBE Example<BR>ASCII<BR>DATASET UNSTRUCTURED_GRID<BR>POINTS&nbsp; 8&nbsp; float<BR>&nbsp; 0.0&nbsp; 0.0&nbsp; 0.0<BR>&nbsp; 1.0&nbsp; 0.0&nbsp; 0.0<BR>&nbsp; 1.0&nbsp; 1.0&nbsp; 0.0<BR>&nbsp; 0.0&nbsp; 1.0&nbsp; 0.0<BR>&nbsp; 0.0&nbsp; 0.0&nbsp; 1.0<BR>&nbsp; 1.0&nbsp; 0.0&nbsp; 1.0<BR>&nbsp; 1.0&nbsp; 1.0&nbsp; 1.0<BR>&nbsp; 0.0&nbsp; 1.0&nbsp; 1.0</P>
<P>CELLS 1 9<BR>8&nbsp; 0&nbsp; 1&nbsp; 2&nbsp;&nbsp; 3&nbsp; 4&nbsp; 5&nbsp; 6&nbsp; 7</P>
<P>CELL_TYPES 1<BR>12</P>
<P>POINT_DATA 8<BR>SCALARS scalars float 1<BR>LOOKUP_TABLE default<BR>0. 1. 2. 3. 4. 5. 6. 7. 8.<BR>------------------------------------</P>
<P># vtk DataFile Version 3.0<BR>Cube Unstructured Grid Particle Example<BR>ASCII<BR>DATASET UNSTRUCTURED_GRID<BR>POINTS&nbsp; 10&nbsp; float<BR>&nbsp; 0.1&nbsp; 0.2&nbsp; 0.1<BR>&nbsp; 0.2&nbsp; 0.3&nbsp; 0.6<BR>&nbsp; 0.3&nbsp; 0.5&nbsp; 0.3<BR>&nbsp;&nbsp;0.4&nbsp; 0.4&nbsp; 0.5<BR>&nbsp; 0.5&nbsp; 0.6&nbsp; 0.6<BR>&nbsp; 0.7&nbsp; 0.5&nbsp; 0.3<BR>&nbsp;&nbsp;0.5&nbsp; 0.2&nbsp; 0.5<BR>&nbsp; 0.2&nbsp; 0.3&nbsp; 0.4<BR>&nbsp; 0.3&nbsp; 0.9&nbsp; 0.2<BR>&nbsp;&nbsp;0.4&nbsp; 0.4&nbsp; 0.5<BR></P>
<P>CELLS 10 20<BR>1 0&nbsp; 1 1&nbsp;1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9</P>
<P>CELL_TYPES 10<BR>1 1 1 1 1 1 1 1 1 1 </P>
<P>&nbsp;POINT_DATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10<BR>&nbsp;SCALARS diamteter float<BR>&nbsp;LOOKUP_TABLE default<BR>&nbsp; 1.2&nbsp; 4.0&nbsp; 2.1&nbsp; 5.3&nbsp; 6.3&nbsp; 7.5&nbsp; 8.5&nbsp; 9.7&nbsp; 6.1 2.5<BR>---------------------------------------------</P>
<P></FONT><FONT face=±¼¸²,Gulim size=2></FONT>&nbsp;</P></DIV></FONT></DIV></DIV></BODY></HTML>