<div dir="ltr"><div><div>Hi Paul, <br></div><br>Yes, torq_calc generates integral quantities, viscous drag (dragvx,
dragvy, dragvz) for example. You are right, my issue is different: I
defined an object, which is a cylindric pipe's wall, with set_obj; and
now I' m trying to find all the coordinates of this object and
quantities dg(1,2), dg(2,2), dg(3,2) in these coordinates. My code works
fine for the serial setting but with parallel setting only a part of
coordinates is dumped into the file. And this part corresponds to the
values of one CPU (I run my case with 16 CPU on one node). I have tried
to use subroutine gop(x, w op, n) but it doesn't work.<br><br><br></div>Best regards, Andrew<br><div><pre><br></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-11 18:58 GMT+02:00 <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div><br>
</div>
Hi Andrew,
<div><br>
</div>
<div>torq_calc (which also computes drag as a byproduct) will generate integral quantities over several</div>
<div>objects.</div>
<div><br>
</div>
<div>So, you could have (say) the upper and lower wall as two separate objects, and you can get the</div>
<div>drag on each. This amounts to 2 vector quantities (3 numbers each: fx,fy,fz) at each time step</div>
<div>and is written out by node 0.</div>
<div><br>
</div>
<div>It sounds like you are asking for something different, e.g., the wall shear stress as a function of </div>
<div>position --- that requires a bit more sophistication but is certainly accessible.</div>
<div><br>
</div>
<div>What are you looking for?</div>
<div><br>
</div>
<div>Best, Paul</div>
<div><br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> <a href="mailto:nek5000-users-bounces@lists.mcs.anl.gov" target="_blank">nek5000-users-bounces@lists.mcs.anl.gov</a> [<a href="mailto:nek5000-users-bounces@lists.mcs.anl.gov" target="_blank">nek5000-users-bounces@lists.mcs.anl.gov</a>] on behalf of <a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a> [<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>]<br>
<b>Sent:</b> Sunday, July 10, 2016 12:39 PM<br>
<b>To:</b> <a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a><br>
<b>Subject:</b> [Nek5000-users] WSS on several processors<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">
<div dir="ltr" style="font-size:12.8px">
<div>Hi Neks, </div>
<div><br>
</div>
<div>I am working with two routines (torq_calc and drgtrq )in navier5.f. I'm trying to collect viscous drag's values on the wall (in all the grid points) and write them into a file. If I run a calculation on the one CPU it works great, but it doesn't work
with several processors: I have an impression that the information is written into result file from only one processors. How can I fix this problem?</div>
<div><br>
</div>
<div>
<div style="color:rgb(80,0,80);font-size:12.8px"><span lang="en">Thank you for any suggestion, <br>
</span></div>
<span style="color:rgb(80,0,80);font-size:12.8px" lang="en">Andrew</span><br>
</div>
</div>
<div style="margin:2px 0px 0px;font-size:12.8px"></div>
</div>
</div>
</div></div></div>
</div>
</div>
</div>
<br>_______________________________________________<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" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
<br></blockquote></div><br></div>