<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) and particles(position, size) 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. </P>
<P>Any information(approach methods, simple examples or experiences) to make the input vtk file or to program a 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 8 float<BR> 0.0 0.0 0.0<BR> 1.0 0.0 0.0<BR> 1.0 1.0 0.0<BR> 0.0 1.0 0.0<BR> 0.0 0.0 1.0<BR> 1.0 0.0 1.0<BR> 1.0 1.0 1.0<BR> 0.0 1.0 1.0</P>
<P>CELLS 1 9<BR>8 0 1 2 3 4 5 6 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 10 float<BR> 0.1 0.2 0.1<BR> 0.2 0.3 0.6<BR> 0.3 0.5 0.3<BR> 0.4 0.4 0.5<BR> 0.5 0.6 0.6<BR> 0.7 0.5 0.3<BR> 0.5 0.2 0.5<BR> 0.2 0.3 0.4<BR> 0.3 0.9 0.2<BR> 0.4 0.4 0.5<BR></P>
<P>CELLS 10 20<BR>1 0 1 1 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> POINT_DATA 10<BR> SCALARS diamteter float<BR> LOOKUP_TABLE default<BR> 1.2 4.0 2.1 5.3 6.3 7.5 8.5 9.7 6.1 2.5<BR>---------------------------------------------</P>
<P></FONT><FONT face=±¼¸²,Gulim size=2></FONT> </P></DIV></FONT></DIV></DIV></BODY></HTML>