Sorry about that, it seems that I didn&#39;t check to see the maximum file size for the university web servers. Here is another pair of links that should work.<br><br><a href="http://dl.dropbox.com/u/689267/oneram6_fine_sep_2.cas">http://dl.dropbox.com/u/689267/oneram6_fine_sep_2.cas</a><br>

<a href="http://dl.dropbox.com/u/689267/oneram6_fine_sep_2.dat">http://dl.dropbox.com/u/689267/oneram6_fine_sep_2.dat</a><br><br>Thanks for looking at them, this is really vexing me. What is most frustrating, is that if I load the files into ensight, then convert them to ensight files then load them into VTK it works fine, I am wondering if Ensight assumes something about the files that VTK doesn&#39;t that allows it to give me the no slip condition I am after.<br>

<br>Thanks,<br><br>Kevin<br><br><br><br><div class="gmail_quote">On Wed, Jan 12, 2011 at 2:20 PM, Frederic DANESI <span dir="ltr">&lt;<a href="mailto:frederic.danesi@dinccs.com">frederic.danesi@dinccs.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="FR"><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Hi Kevin,</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">I was hoping to give it a try, but I am unable to load your files (internal server error).</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">However, it seems to me that what you’re getting from vtk is correct: if you have only celldata as input, then you have already lost the point data on the boundary (wall), since pointdata </span><span style="font-size: 11pt; font-family: Wingdings; color: rgb(31, 73, 125);" lang="EN-US">ß</span><span style="font-size: 11pt; font-family: Wingdings; color: rgb(31, 73, 125);" lang="EN-US">à</span><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> celldata conversion implies that an average value is computed … so either your .cas file does not enclosed point data, or the FLUENTReader does not read them … provide me with your files, and I will try as soon as I can. </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">HTH,</span></p><p class="MsoNormal">

<span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Fred.</span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Cordialement,</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">F.Danesi</span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">-- </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Responsable Développement Informatique et Travail Collaboratif</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Centre Technique DINCCS (Centre Technique Dédié à l’Ingénierie Numérique, la Conception Collaborative et la Simulation)</span></p><p class="MsoNormal">

<span style="font-size: 11pt; color: rgb(31, 73, 125);">MICADO / DINCCS</span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Pôle de Haute Technologie, BP 90005</span></p><p class="MsoNormal">

<span style="font-size: 11pt; color: rgb(31, 73, 125);">08005 Charleville-Mézières Cedex</span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Tel. : +33 (0) 3.24.41.69.55 / +33 (0) 6.62.76.13.32</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Email : <a href="mailto:frederic.danesi@dinccs.com" target="_blank"><span style="color: rgb(31, 73, 125);">frederic.danesi@dinccs.com</span></a></span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Web : <a href="http://www.afmicado.com" target="_blank"><span style="color: rgb(31, 73, 125);">www.afmicado.com</span></a> / <a href="http://www.dinccs.com" target="_blank"><span style="color: rgb(31, 73, 125);">www.dinccs.com</span></a></span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">-----</span></p><p class="MsoNormal">

<span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p><p class="MsoNormal"><b><span style="font-size: 10pt; font-family: Consolas; color: rgb(31, 73, 125);" lang="EN-US">DISCLAIMER :</span></b></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(31, 73, 125);" lang="EN-US">This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.</span><span style="font-size: 10pt; font-family: Consolas; color: rgb(31, 73, 125);" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;">De :</span></b><span style="font-size: 10pt;"> <a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a> [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>] <b>De la part de</b> Kevin Hoopes<br>

<b>Envoyé :</b> mercredi 12 janvier 2011 20:16<br><b>À :</b> <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br><b>Objet :</b> [vtkusers] FLUENT CellDataToPointData inconsistencies</span></p></div>
<div>
<div></div><div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal"> </p><div><p class="MsoNormal">Hello,</p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">This is my first post to this list after being a casual observer for a while. Let me describe my problem. I have a data set that I produced in FLUENT that I am trying to load into a program that I wrote in VTK. As I am sure everyone knows FLUENT is a Computational Fluid Dynamics analysis package. One of the tenets of CFD that I exploit in my program is what is called the no slip condition. That the velocity will be zero at the wall or obstacle. The problem is that when I load my FLUENT data into VTK convert it to point data and then write it as a vtu file and then examine it in ParaView there are no points that have zero velocity, the points are there, there is just nowhere where its zero. But at the same time, if I export the data from FLUENT in ensight format and then read it into VTK or ParaView, it works as expected. Also, if I load the FLUENT data into the EnSight program it also works. Tecplot also works. Both of these programs show the zero velocity condition at the wall. So In summary here is my problem</p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">FLUENT file -&gt; CellDataToPointData -&gt; Examine in VTK = No zero velocity locations (this is done in my main program, the attached is but a sample of what I am trying to do)</p>

</div><div><p class="MsoNormal">FLUENT file -&gt; CellDataToPointData -&gt; write to VTU -&gt; ParaView examination = No zero velocity locations (this is what the attached program does)</p></div><div><div><p class="MsoNormal">

FLUENT -&gt; Point Data formated ensight file -&gt; ParaView examination = zero velocity locations as anticipated</p></div></div><div><p class="MsoNormal">EnSight reading fluent files -&gt; write to ensight file -&gt; Paraview examination = zero velocity locations as anticipated</p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">>From what I can tell there is something going on either with the Fluent reader in VTK or the celldatatopointdata that is producing different results and, in my opinion, changing the data.</p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">As a side note, loading the FLUENT files directly into Paraview doesn&#39;t really seem to work. I am experiencing the same issue that is described here, </p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal"><a href="http://www.mail-archive.com/paraview@paraview.org/msg10346.html" target="_blank">http://www.mail-archive.com/paraview@paraview.org/msg10346.html</a></p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">but this is not just a ParaView problem, when I use thresholding in VTK to find the Zero Velocity boundries it works if I start from a FLUENT exported Ensight file but does not work if I start from a FLUENT file. The difference it seems is using FLUENT&#39;s celldatatopointdata or VTK&#39;s</p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Now, the reader will have to understand a few things in order to hopefully provide some help.</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">

1. I am doing University research and am not working for a commercial company</p></div><div><p class="MsoNormal">2. I am new to VTK and Paraview and CFD in general so go easy on me</p></div><div><p class="MsoNormal">3. There are quite possibly options I could be using in the FLUENT, the FLUENT reader or CellDataToPointData or XMLUnstructuredGridWriter that could solve my problem</p>

</div><div><p class="MsoNormal">4. I am not claiming that VTK is messing up and that I am guiltless, its probably some option I don&#39;t understand.</p></div><div><p class="MsoNormal">5. Maybe there is some way to have fluent not do a multiblock dataset?</p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Here is my test C++ code</p></div><div><p class="MsoNormal"> </p></div><div><div><p class="MsoNormal">#include&lt;vtk/vtkPoints.h&gt;</p>

</div><div><p class="MsoNormal">#include&lt;vtk/vtkPolyData.h&gt;</p></div><div><p class="MsoNormal">#include &lt;vtk/vtkPolyDataWriter.h&gt;</p></div><div><p class="MsoNormal">#include &lt;vtk/vtkUnstructuredGrid.h&gt;</p>

</div><div><p class="MsoNormal">#include &lt;vtk/vtkIdList.h&gt;</p></div><div><p class="MsoNormal">#include &lt;vtk/vtkFLUENTReader.h&gt;</p></div><div><p class="MsoNormal">#include &lt;vtk/vtkUnstructuredGridWriter.h&gt;</p>

</div><div><p class="MsoNormal">#include &lt;vtk/vtkCellDataToPointData.h&gt;</p></div><div><p class="MsoNormal">#include &lt;vtk/vtkXMLUnstructuredGridWriter.h&gt;</p></div><div><p class="MsoNormal">#include &lt;vtk/vtkMultiBlockDataSet.h&gt;</p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">#include &lt;vector&gt;</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">using namespace std;</p></div><div><p class="MsoNormal">

 </p></div><div><p class="MsoNormal">int main () {</p></div><div><p class="MsoNormal">cout &lt;&lt; &quot;Begin Reading File.&quot; &lt;&lt; endl;</p></div><div><p class="MsoNormal">vtkFLUENTReader *fluent = vtkFLUENTReader::New();</p>

</div><div><p class="MsoNormal">fluent-&gt;SetFileName(&quot;./oneram6_fine_sep_2.cas&quot;);</p></div><div><p class="MsoNormal">fluent-&gt;Update();</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">

vtkCellDataToPointData *c2p = vtkCellDataToPointData::New();</p></div><div><p class="MsoNormal">c2p-&gt;SetInput(fluent-&gt;GetOutput()-&gt;GetBlock(0));</p></div><div><p class="MsoNormal">c2p-&gt;Update();</p></div><div>

<p class="MsoNormal"> </p></div><div><p class="MsoNormal">c2p-&gt;GetOutput()-&gt;Print(cout);</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">vtkXMLUnstructuredGridWriter *xmlwriter = vtkXMLUnstructuredGridWriter::New();</p>

</div><div><p class="MsoNormal">xmlwriter-&gt;SetInput(fluent-&gt;GetOutput()-&gt;GetBlock(0));</p></div><div><p class="MsoNormal">xmlwriter-&gt;SetFileName(&quot;./sep_test.vtu&quot;);</p></div><div><p class="MsoNormal">

xmlwriter-&gt;SetDataModeToBinary();</p></div><div><p class="MsoNormal">xmlwriter-&gt;Write();</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">}</p></div></div><div><p class="MsoNormal"> </p></div>

<div><p class="MsoNormal">And here are some links to the FLUENT files that I am using, they are pretty giant, 1.5gb in total, but they are hosted at my school so hopefully it will be fast.</p></div><div><p class="MsoNormal">

 </p></div><div><p class="MsoNormal"><a href="http://cafestuff.groups.et.byu.net/oneram6_fine_sep_2.cas" target="_blank">http://cafestuff.groups.et.byu.net/oneram6_fine_sep_2.cas</a></p></div><div><p class="MsoNormal"><a href="http://cafestuff.groups.et.byu.net/oneram6_fine_sep_2.dat" target="_blank">http://cafestuff.groups.et.byu.net/oneram6_fine_sep_2.dat</a></p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I would also be happy to make the EnSight versions of the same files available if that would help.</p></div><div><p class="MsoNormal">

 </p></div><div><p class="MsoNormal">Let me know if there is anymore info that I could provide and thank you in advance, hopefully it is just some silly mistake of mine, it would really help my research to get this working.</p>

</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal"><span style="color: rgb(136, 136, 136);">Kevin Hoopes</span></p></div><div><p class="MsoNormal"><span style="color: rgb(136, 136, 136);"><a href="mailto:khoopes@byu.edu" target="_blank">khoopes@byu.edu</a></span></p>

</div></div><p class="MsoNormal"> </p></div></div></div></div></blockquote></div><br>