<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:"\@Malgun Gothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US">You could as an alternative compute the stream function in nek (as Poisson euqation with the vorticity as rhs) and write out that as a scalar. <br>
Philipp<br><br><div class="gmail_quote">On June 21, 2018 11:24:22 PM GMT+02:00, nek5000-users@lists.mcs.anl.gov wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="WordSection1">
<p class="MsoNormal">Hi All, </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am reading in a Nek output file to postx, and would like to compute a streamfunction in postx and save that to a file format I can view in Visit.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After I select “DUMP vtk ALL”, the resulting VTK file only contains a “VORTEX” and a “PRESSURE” variable when I plot it in VisIt.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I think I might be doing something wrong. Is there some other way this could be done in either Visit or ParaView?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks, </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hannah </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OUTPUT FILE</p>
<p class="MsoNormal">1 MAIN MENU</p>
<p class="MsoNormal">2 Set vtk sampling size</p>
<p class="MsoNormal">3 VIEW vtk S</p>
<p class="MsoNormal">4 DUMP vtk XYZ+S</p>
<p class="MsoNormal">5 DUMP vtk ALL</p>
<p class="MsoNormal">6 DUMP vtk surface</p>
<p class="MsoNormal">7 Animate vtk srf</p>
<p class="MsoNormal">8 Animate vtk multifield</p>
<p class="MsoNormal">9 Animate vtk vol</p>
<p class="MsoNormal">10 XYZ dump</p>
<p class="MsoNormal">11 XWD dump</p>
<p class="MsoNormal">12 pixel dump</p>
<p class="MsoNormal">13 set pixel window size</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">DUMP vtk ALL</p>
<p class="MsoNormal">This is iffmt_vtk: T</p>
<p class="MsoNormal">nelclip 1038 1038</p>
<p class="MsoNormal">ntot 9342 66432</p>
<p class="MsoNormal">call mapreg3d mx,nx 3 8</p>
<p class="MsoNormal">NVERT LEXICO: 1125 3 1038</p>
<p class="MsoNormal">THIS is nglb 4325 3 1038</p>
<p class="MsoNormal">this is nglb 4325 9342 3 1038</p>
<p class="MsoNormal">call mapreg3d mx,nx 3 8</p>
<p class="MsoNormal">inside compress 9342 4325 4325</p>
<p class="MsoNormal">inside compress 9342 4325 4325</p>
<p class="MsoNormal">inside compress 9342 4325 4325</p>
<p class="MsoNormal">LTRUNC: string: 7</p>
<p class="MsoNormal">vtkfile</p>
<p class="MsoNormal">vtkfile</p>
<p class="MsoNormal">setwrk: T X N VORTEX</p>
<p class="MsoNormal">ifnew_work: T T TOTAL PRESSURE 4 4</p>
<p class="MsoNormal">T quant: VORTEX</p>
<p class="MsoNormal">in vortex routine ifds, ialg F 2</p>
<p class="MsoNormal"> derivative:NO ( 64)</p>
<p class="MsoNormal">wkmax,delt:VORTEX 9.69377422 -74.0063782 83.7001495</p>
<p class="MsoNormal">WORK - MAX,MIN: 9.6938 -74.006</p>
<p class="MsoNormal">wkmin: -7.4006E+01 4.0000E+01 1.0000E+00 0.0000E+00 43137</p>
<p class="MsoNormal">wkmax: 9.6938E+00 4.0048E+01 1.0000E+00 0.0000E+00 43139</p>
<p class="MsoNormal">Volume of domain: 1559.92</p>
<p class="MsoNormal">Integral of function: -0.411983E-01</p>
<p class="MsoNormal">inside compress 9342 4325 4325</p>
<p class="MsoNormal">POINT_DATA 4325</p>
<p class="MsoNormal">SCALARS VORTEX float</p>
<p class="MsoNormal">LOOKUP_TABLE default</p>
<p class="MsoNormal">minmax: -6.005E+00 1.264E+00 VORTEX</p>
<p class="MsoNormal">setwrk: F M N PRESSURE</p>
<p class="MsoNormal">ifnew_work: T F VORTEX 4 4</p>
<p class="MsoNormal">T quant: PRESSURE</p>
<p class="MsoNormal"> derivative:NO ( 64)</p>
<p class="MsoNormal">wkmax,delt:PRESSURE 0.223040715 -0.476195186 0.699235916</p>
<p class="MsoNormal">WORK - MAX,MIN: 0.22304 -0.47620</p>
<p class="MsoNormal">wkmin: -4.7620E-01 4.0000E+01 1.0000E+00 0.0000E+00 29561</p>
<p class="MsoNormal">wkmax: 2.2304E-01 4.1428E+01 0.0000E+00 0.0000E+00 26753</p>
<p class="MsoNormal">Volume of domain: 1559.92</p>
<p class="MsoNormal">Integral of function: 105.272</p>
<p class="MsoNormal">inside compress 9342 4325 4325</p>
<p class="MsoNormal">SCALARS PRESSURE float</p>
<p class="MsoNormal">LOOKUP_TABLE default</p>
<p class="MsoNormal">minmax: -3.829E-01 2.046E-01 PRESSURE</p>
<p class="MsoNormal">1 MAIN MENU</p>
<p class="MsoNormal">2 Set vtk sampling size</p>
<p class="MsoNormal">3 VIEW vtk S</p>
<p class="MsoNormal">4 DUMP vtk XYZ+S</p>
<p class="MsoNormal">5 DUMP vtk ALL</p>
<p class="MsoNormal">6 DUMP vtk surface</p>
<p class="MsoNormal">7 Animate vtk srf</p>
<p class="MsoNormal">8 Animate vtk multifield</p>
<p class="MsoNormal">9 Animate vtk vol</p>
<p class="MsoNormal">10 XYZ dump</p>
<p class="MsoNormal">11 XWD dump</p>
<p class="MsoNormal">12 pixel dump</p>
<p class="MsoNormal">13 set pixel window size</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>