<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Assuming you are using par, define a scalar:</div><div><br></div><div>[SCALAR01] # vorticity</div><div>solver = none</div><div><br></div><div>Then, just store the vorticity in t(1,1,1,1,iscal +1) where iscal is your passive scalar index (in this example 1).</div><div><br>On 4 May 2018, at 08:39, "<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>" <<a href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>I am postprocessing output files in order to compute the vorticity.</p>
<p>So far I have followed the instructions in <a href="https://lists.mcs.anl.gov/pipermail/nek5000-users/2010-March/000171.html" class="OWAAutoLink" id="LPlnk629913" previewremoved="true">
https://lists.mcs.anl.gov/pipermail/nek5000-users/2010-March/000171.html</a>,<br>
</p>
<p>where it is explained how to output the vorticity components as velocity components.</p>
<p><br>
</p>
<p>I however would like to make a simultaneous visualization of the vorticity field, the velocity field and some of the scalar fields.</p>
<p>If postprocessing a file "mycase0.f000XX" - is it then possible to append the vorticity to this file?</p>
<p>If this is not possible, how would I to in order to write the velocity and the vorticity in the same file?</p>
<p><br>
</p>
<p>The interface of the subroutine outpost is outpost(vx,vy,vz,pr,t,nam), but I have 3 scalars in addition to the temperature.</p>
<p>How can I write a file containing both the vorticity and the four scalar fields?</p>
<p><br>
</p>
<p>Best,</p>
<p><br>
</p>
<p>Johan<br>
</p>
</div>
<pre>_______________________________________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
</pre></div></blockquote></body></html>