<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
All,<br>
<br>
Context: PV Version 4.2.0 64bit; MS Windows 7 64bit; EnSight
C-Binary formatted simulation results.<br>
<br>
My simulations are explicit transient dynamic events, and each
simulation provides global/domain quantities total kinetic energy,
total internal energy, total external energy, and an energy balance
error calculation. <br>
<br>
Because the EnSight Gold format does not appear to me that it can
store (and report to ParaView) global/domain variable results except
"Time" accessible to the highlighted (active) filter Plot Global
Variables Over Time, I have written an EnSight gold formatted
global/domain variable 'history file-set,' sample attached.<br>
<br>
The EnSight history file-set containing the global/domain results
uses a single "bogus" 4-node quad positioned as a backdrop to the
actual finite element mesh for its geometry requirements. All of the
global/domain results are supplied as cell-centered quantities to
this single bogus 4-node quad. <br>
<br>
To plot over time, PV provides two selection methods: (1) a Select
Cells Through mouse-box that works, and (2) a Find Data tool that
does not work?<br>
<br>
Selection method (1) reports "Block 1; Cell:0" to the Plot Selection
Over Time filter.<br>
<br>
Entering into method (2) for the query "For Cell(s) f/
fmaego.hist.case w/ ID is [0|1] Block ID is [null|0|1] reports (for
[0],[null]) in the Output Message window: <br>
<br>
--------------------------------------------------------------<br>
<span style=" font-family:'Courier'; font-size:7.8pt;
color:#800000;">Traceback (most recent call last):</span>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
File "<string>", line 8, in <module></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
File "<string>", line 5, in
vtkPythonExtractSelection_RequestData</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
File "C:\Program Files (x86)\ParaView
4.2.0\lib\paraview-4.2\site-packages\paraview\extract_selection.py",
line 111, in execute</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
output.FieldData.append(nonzero_indices, "vtkSelectedIds");</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
File "C:\Program Files (x86)\ParaView
4.2.0\lib\paraview-4.2\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py",
line 596, in append</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
ds.GetAttributes(self.Association).append(array, name)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
File "C:\Program Files (x86)\ParaView
4.2.0\lib\paraview-4.2\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py",
line 535, in append</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
arr = numpyTovtkDataArray(copy, name)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
File "C:\Program Files (x86)\ParaView
4.2.0\lib\paraview-4.2\site-packages\paraview\vtk\numpy_interface\dataset_adapter.py",
line 119, in numpyTovtkDataArray</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
vtkarray = numpy_support.numpy_to_vtk(array)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
File "C:\Program Files (x86)\ParaView
4.2.0\lib\paraview-4.2\site-packages\vtk\util\numpy_support.py",
line 141, in numpy_to_vtk</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
result_array = create_vtk_array(vtk_typecode)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
File "C:\Program Files (x86)\ParaView
4.2.0\lib\paraview-4.2\site-packages\vtk\util\numpy_support.py",
line 97, in create_vtk_array</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">
return vtk.vtkDataArray.CreateDataArray(vtk_arr_type)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-family:'Courier'; font-size:7.8pt; color:#800000;">TypeError:
CreateDataArray argument 1: an integer is required</span></p>
--------------------------------------------------------------<br>
<br>
Other combinations of [0|1],[null|0|1] provide similar Output
Messages.<br>
<br>
Note: The EnSight Gold format provides for block, point, & cell
User ID's which in this case are all '1.' As near as I can tell, the
'0' would be the C offset-address for the 1st Block and 1st Cell???<br>
<br>
Should I expect to be able to use the Find Data query tool on this
datum set?<br>
<br>
Samuel W Key<br>
FMA Development, LLC<br>
<br>
</body>
</html>