<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Dear People,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> I am trying to open a file directly from vtk using the
vtkFLUENTReader class.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>However I get a runtime error. Can anyone advise me what the
problem is?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The code and error is below:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> vtkFLUENTReader* reader = vtkFLUENTReader::New();<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> vtkMultiBlockDataSet* mb = vtkMultiBlockDataSet::New();<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> char* cfname =
"/fatty/Nat/testmeshes/nats-cube-all.cas";<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> reader->SetFileName(cfname);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> reader->Update();<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> mb->DeepCopy(reader->GetOutput());<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>ERROR: In
/couchlocal/inkson/code/nvtk/VTK/Filtering/vtkExecutive.cxx, line 403<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>vtkCompositeDataPipeline (0x1200020): Attempt to get data
for output port index 11133 for algorithm vtkFLUENTReader(0x11feb10), which has
1 output ports.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span lang=EN-US
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'>Best
Regards<o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span lang=EN-US
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'> <o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Dr.
Nathanael Inkson,</span></font></b><b><font size=2 color=gray face=Verdana><span
lang=EN-US style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:
bold'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Verdana><span lang=EN-US
style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:bold'> <o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Computational
Fluid Dynamics Developer,</span></font></b><b><font size=2 color=gray
face=Verdana><span lang=EN-US style='font-size:10.0pt;font-family:Verdana;
color:gray;font-weight:bold'><o:p></o:p></span></font></b></p>
<p class=MsoNormal><b><font size=2 color=gray face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:gray;font-weight:bold'>Digital
Flow Solutions,</span></font></b><b><font size=2 color=gray face=Verdana><span
lang=EN-US style='font-size:10.0pt;font-family:Verdana;color:gray;font-weight:
bold'><o:p></o:p></span></font></b></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'> <img
width=215 height=44 id="_x0000_i1025" src="cid:image002.jpg@01C91D6D.FA176DD0"></span></font><strong><b><font
size=1 face="Times New Roman"><span style='font-size:7.5pt'><o:p></o:p></span></font></b></strong></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=1 color=gray face=Verdana><span lang=EN-US style='font-size:9.0pt;
font-family:Verdana;color:gray'>mob: + 44 7872010167</span></font></b></strong><strong><b><font
size=1 color=gray face=Verdana><span lang=EN-US style='font-size:7.5pt;
font-family:Verdana;color:gray'><o:p></o:p></span></font></b></strong></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=1 color=gray face=Verdana><span lang=EN-US style='font-size:9.0pt;
font-family:Verdana;color:gray'>web: <a
href="http://wirthresearch.com">wirthresearch.com</a></span></font></b></strong><font
size=1><span style='font-size:9.0pt'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span><o:p></o:p></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>