<div>Hi Peter:</div>
<div> </div>
<div>    The format of your geometry files (e.g., example0001.geo) is invalid. Please go to pp.489 (the lower section), EnSight Manual v8.2 (<a href="http://vis.lbl.gov/NERSC/Software/ensight/docs82/UserManual.pdf">http://vis.lbl.gov/NERSC/Software/ensight/docs82/UserManual.pdf</a>) to find the valid format for ASCII-based geometry files. Simply put, the part index needs to be provided in a geometry file (e.g., example0001.geo), as indicated in pp.490 (the upper section), which is registered via <font color="#808080" size="2"><font color="#808080" size="2"><font color="#000000">vtkEnSightGoldReader::ReadGeometryFile(</font></font></font><font color="#000000"><font size="2"><font size="2">const</font></font><font size="2"><font size="2"> </font></font><font size="2"><font size="2">char</font></font><font size="2"><font size="2">* fileName, </font></font><font size="2"><font size="2">int</font></font></font><font color="#808080" size="2"><font color="#808080" size="2"><font color="#000000"> timeStep, </font><font color="#000000">vtkMultiBlockDataSet *output), </font><font color="#000000">specifically by <font size="2"><font size="2">vtkEnSightGoldReader::CreateUnstructuredGridOutput(</font></font><font size="2"><font size="2">int</font></font><font size="2"><font size="2"> partId, </font></font><font size="2"><font size="2">char</font></font><font size="2"><font size="2"> line[256], </font></font><font size="2"><font size="2">const</font></font><font size="2"><font size="2"> </font></font><font size="2"><font size="2">char</font></font><font size="2"><font size="2">* name, vtkMultiBlockDataSet *compositeOutput). This part-index is later accessed in <font color="#000000"><font size="2"><font size="2">vtkEnSightGoldReader::ReadScalarsPerElement(</font></font><font size="2"><font size="2">const</font></font><font size="2"><font size="2"> </font></font><font size="2"><font size="2">char</font></font><font size="2"><font size="2">* fileName, </font></font><font size="2"><font size="2">const</font></font><font size="2"><font size="2"> </font></font><font size="2"><font size="2">char</font></font><font size="2"><font size="2">* description, </font></font><font size="2"><font size="2">int</font></font><font size="2"><font size="2"> timeStep, vtkMultiBlockDataSet *compositeOutput, </font></font><font size="2"><font size="2">int</font></font><font size="2"><font size="2"> numberOfComponents, </font></font><font size="2"><font size="2">int</font></font><font size="2"><font size="2"> component).</font></font></font></font></font></font></font></font></div>

<div> </div>
<div>   Please note that the EnSight Manual also mandates that coordinates be listed one value per line in an ASCII-based geometry file (e.g., example0001.geo) and it is also the case with scalar values (e.g., example0001.temp, and example0001.o2). Also note that &quot;part 1&quot; is invalid and the two words need to be placed in two separate lines.</div>

<div> </div>
<div>   Please double-check all of your files, make them compliant with valid EnSight file formats, and upload the resulting files to Mantis in case you still encounter any problems.</div>
<div> </div>
<div>   Thanks.</div>
<div> </div>
<div>   -Zhanping</div>
<div> </div>
<div>Zhanping Liu, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x 138<br><a href="http://www.zhanpingliu.org">http://www.zhanpingliu.org</a><br></div>
<div> </div>
<div><font color="#808080"></font> </div>
<div class="gmail_quote">On Sun, May 24, 2009 at 1:52 PM, Peter Eckert <span dir="ltr">&lt;<a href="mailto:pte@nexgo.de">pte@nexgo.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello Ricardo, hello Samuel,<br><br>thanks for the ens_checkers!<br>Unfortunately, I could not get the one for linux to work, because of<br>
a libstdc++.so.5 missing. The windows version gives indeed an error<br>for my ensight case file (see below), which I do not fully understand<br>however. Ens_checker is expecting 1395 entries in the variable file<br>example0002.temp. However, from the geometry file example0002.geo it<br>
should expect 1719. Shouldn&#39;t it?<br>BTW, the checker gives the same error for my case file when I use<br>&quot;per node&quot; data and these are read in fine in Paraview?<br><br>Anything else that I might have wrong in my case files?<br>
<br>Thanks and best regards,<br><br>Peter<br><br><br><br>*****************************************************************<br>*  EnSight Data Format Checker                                  *<br>*  ===========================                                  *<br>
*   Currently,                                                  *<br>*   1. Must be run from directory in which casefile is located. *<br>*   2. Handles EnSight6 and EnSight Gold formats only.          *<br>*   3. Does not process SOS casefiles.                          *<br>
*****************************************************************<br>&lt;Version: 1.206&gt;<br><br>&lt;Enter casefile name (must be in directory containing it!) &gt;<br>example.case<br><br>Casefile to Process:<br>--------------------<br>
example.case   (Opened successfully)<br><br>---------------------<br>Major Sections Found:<br>---------------------<br>Required FORMAT   section    (at line 1)<br>Required GEOMETRY section    (at line 4)<br>Optional VARIABLE section    (at line 8)<br>
Optional TIME     section    (at line 16)<br><br>---------------<br>FORMAT Section:<br>---------------<br>EnSight 6 Format   (set at line 2)<br><br>-------------<br>TIME section:<br>-------------<br>Info for timeset number: 1<br>
----------------------------<br>Time set: 1   (at line 17)<br>  No description provided<br>  Number of steps:       5   (at line 18)<br>  Filename start number: 1   (at line 19)<br>  Filename increment:    1   (at line 20)<br>
  Time values:           (starting on line 21)<br>                         time values[1] = 379.03<br>                         time values[2] = 389.02<br>                         time values[3] = 399.05<br>                         time values[4] = 409.03<br>
                         time values[5] = 415<br><br> &gt;-------------------&lt;<br> &gt; TIME section OKAY &lt;<br> &gt;-------------------&lt;<br><br>-----------------<br>GEOMETRY Section:<br>-----------------<br><br>--------<br>
Model filename is:   example****.geo      (at line 5)<br><br>  Changing connectivity geometry<br>  Associated time set is: 1<br><br>  --------<br>  Opened example0001.geo successfully<br><br>  File type is:    ASCII<br>  Description 1:   Geometry file<br>
  Description 2:<br>  node ids:        assign<br>  element ids:     assign<br><br>  Global section:<br>     Number of nodes: 1840<br>        Coordinates for (1840) nodes found<br><br>  Part 1:<br>     Description is: Cell data<br>
     Unstructured Part<br>     Number of hexa8 elements in section is: 1395<br>        Connectivities for (1395) hexa8 elements found<br><br>  --------<br>  Opened example0002.geo successfully<br><br>  File type is:    ASCII<br>
  Description 1:   Geometry file<br>  Description 2:<br>  node ids:        assign<br>  element ids:     assign<br><br>  Global section:<br>     Number of nodes: 2220<br>        Coordinates for (2220) nodes found<br><br>  Part 1:<br>
     Description is: Cell data<br>     Unstructured Part<br>     Number of hexa8 elements in section is: 1719<br>        Connectivities for (1719) hexa8 elements found<br><br>  --------<br>  Opened example0003.geo successfully<br>
<br>  File type is:    ASCII<br>  Description 1:   Geometry file<br>  Description 2:<br>  node ids:        assign<br>  element ids:     assign<br><br>  Global section:<br>     Number of nodes: 2600<br>        Coordinates for (2600) nodes found<br>
<br>  Part 1:<br>     Description is: Cell data<br>     Unstructured Part<br>     Number of hexa8 elements in section is: 2043<br>        Connectivities for (2043) hexa8 elements found<br><br>  --------<br>  Opened example0004.geo successfully<br>
<br>  File type is:    ASCII<br>  Description 1:   Geometry file<br>  Description 2:<br>  node ids:        assign<br>  element ids:     assign<br><br>  Global section:<br>     Number of nodes: 2790<br>        Coordinates for (2790) nodes found<br>
<br>  Part 1:<br>     Description is: Cell data<br>     Unstructured Part<br>     Number of hexa8 elements in section is: 2205<br>        Connectivities for (2205) hexa8 elements found<br><br>  --------<br>  Opened example0005.geo successfully<br>
<br>  File type is:    ASCII<br>  Description 1:   Geometry file<br>  Description 2:<br>  node ids:        assign<br>  element ids:     assign<br><br>  Global section:<br>     Number of nodes: 2980<br>        Coordinates for (2980) nodes found<br>
<br>  Part 1:<br>     Description is: Cell data<br>     Unstructured Part<br>     Number of hexa8 elements in section is: 2367<br>        Connectivities for (2367) hexa8 elements found<br><br>--------<br>Measured filename is:   example****.dpg      (at line 6)<br>
<br>  Changing connectivity geometry<br>  Associated time set is: 1<br><br>  --------<br>  Opened example0001.dpg successfully<br><br>  File type is:    ASCII<br>  Description 1: Fuel droplets<br>  Number of particles: 92<br>
     Particle ids and coords found for 92 nodes<br><br>  --------<br>  Opened example0002.dpg successfully<br><br>  File type is:    ASCII<br>  Description 1: Fuel droplets<br>  Number of particles: 0<br>     Particle ids and coords found for 0 nodes<br>
<br>  --------<br>  Opened example0003.dpg successfully<br><br>  File type is:    ASCII<br>  Description 1: Fuel droplets<br>  Number of particles: 0<br>     Particle ids and coords found for 0 nodes<br><br>  --------<br>
  Opened example0004.dpg successfully<br><br>  File type is:    ASCII<br>  Description 1: Fuel droplets<br>  Number of particles: 0<br>     Particle ids and coords found for 0 nodes<br><br>  --------<br>  Opened example0005.dpg successfully<br>
<br>  File type is:    ASCII<br>  Description 1: Fuel droplets<br>  Number of particles: 0<br>     Particle ids and coords found for 0 nodes<br><br> &gt;-----------------------&lt;<br> &gt; GEOMETRY section OKAY &lt;<br> &gt;-----------------------&lt;<br>
<br>-----------------<br>VARIABLE Section:<br>-----------------<br><br>scalar per element:   temp      (at line 9)<br>  Filename is: example****.temp<br>  Transient variable<br>  Associated time set is: 1<br><br>  --------<br>
  Opened example0001.temp successfully<br><br>  Description: Scalar<br><br>  Part 1:<br>     (1395) Per_element scalar values for hexa8 elements found<br><br>  --------<br>  Opened example0002.temp successfully<br><br>  Description: Scalar<br>
<br>  Part 1:<br><br>===&gt; Problem:<br>-------------<br>Previous lines end with 2 extra chars on the line,<br>but line 233 has 38 extra chars. The lines must be consistent<br>or EnSight will have trouble reading it.<br>
|0.90136E+03 0.90671E+03 0.91014E+03 0.91360E+03 0.92050E+03<br>0.94085E+03<br>-----------^-----------^-----------^<br>Looking for: (3) numbers per line<br>            field width of (12) per number<br><br><br>===&gt; Problem:<br>
-------------<br>Not successful reading (1395) per_element scalar values for hexa8<br>elements<br><br> &gt;-------------------------&lt;<br> &gt; VARIABLE section FAILED &lt;<br> &gt;-------------------------&lt;<br><br><br>
 &gt;-*-*-*-*-*-* bummer! *-*-*-*-*-*-&lt;<br> &gt;                                 &lt;<br> &gt; Verification of the data FAILED &lt;<br> &gt;                                 &lt;<br> &gt;-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-&lt;<br>
_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br><br clear="all">
<div></div><br>-- <br>