[Nek5000-users] How to change the x y z coordinates to be polar
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Wed Jan 17 13:10:35 CST 2018
Dear Jian,
You can do the conversion when you process the data by taking the dot product of any (x,y,z) vector with the unit-radius vector, which is
U = (x,y)/r, where r = sqrt( x*x+y*y)
hth,
Paul
________________________________
From: Nek5000-users <nek5000-users-bounces at lists.mcs.anl.gov> on behalf of nek5000-users at lists.mcs.anl.gov <nek5000-users at lists.mcs.anl.gov>
Sent: Wednesday, January 17, 2018 11:49:03 AM
To: nek5000-users at lists.mcs.anl.gov
Subject: [Nek5000-users] How to change the x y z coordinates to be polar
Hi Nek,
Do you know how to change the result of rms to be based on polar coordinates? Currently I have x, y and z directions for the circular pipe. I have to plot the rms in axial,radial and azimuthal.
Cheers,
Jian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20180117/37305d00/attachment.html>
More information about the Nek5000-users
mailing list