<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
.EmailQuote
        {margin-left:1pt;
        padding-left:4pt;
        border-left:#800000 2px solid}
-->
</style>
</head>
<body>
<div style="font-size:10pt">
<p style="margin-top:0; margin-bottom:0"> </p>
<p style="margin-top:0; margin-bottom:0">------ Originalnachricht------</p>
<p style="margin-top:0; margin-bottom:0"><b>Von: </b>Held, Markus </p>
<p style="margin-top:0; margin-bottom:0"><b>Datum: </b>Mo., 13.03.2017 21:05</p>
<p style="margin-top:0; margin-bottom:0"><b>An: </b>samuelkey@bresnan.net;</p>
<p style="margin-top:0; margin-bottom:0"><b>Betreff:</b>AW: Re: [Paraview] 3d Contour plot on cylindrical grid - inaccurate contours with prefered direction in toroidal angle</p>
<p style="margin-top:0; margin-bottom:0"> </p>
</div>
<div>
<div>
<div style="font-size:10pt">
<p style="margin-top:0; margin-bottom:0">Dear sam key,</p>
<p style="margin-top:0; margin-bottom:0"> </p>
<p style="margin-top:0; margin-bottom:0">thank you for the fast reply. Actually we transform the R,Z,\varphi coordinates to cartesian x,y,z coordinates via filters in paraview. This is also shown in the picturre. However, we see the same problem in cylindrical
 coordinates. Here, the isosurface still prefers the /varphi direction.</p>
<p style="margin-top:0; margin-bottom:0"> </p>
<p style="margin-top:0; margin-bottom:0">2d contours in the R,Z plane are accurate.</p>
<p style="margin-top:0; margin-bottom:0"> </p>
<p style="margin-top:0; margin-bottom:0">Best regards </p>
<p style="margin-top:0; margin-bottom:0">markus</p>
<p style="margin-top:0; margin-bottom:0"> </p>
<p style="margin-top:0; margin-bottom:0">------ Originalnachricht------</p>
<p style="margin-top:0; margin-bottom:0"><b>Von: </b>Samuel Key </p>
<p style="margin-top:0; margin-bottom:0"><b>Datum: </b>Mo., 13.03.2017 20:13</p>
<p style="margin-top:0; margin-bottom:0"><b>An: </b>Held, Markus;</p>
<p style="margin-top:0; margin-bottom:0"><b>Betreff:</b>Re: [Paraview] 3d Contour plot on cylindrical grid - inaccurate contours with prefered direction in toroidal angle</p>
<p style="margin-top:0; margin-bottom:0"> </p>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="PlainText">Markus,<br>
<br>
Unless I am mistaken, PV works with rectangular Cartesian coordinates <br>
(x,y,z)  If you supplied PV with cylindrical coordinates (r,z,\varphi) , <br>
and used a slice plane that contained the r=0.0 axis, then the two <br>
cylindrical coordinates r and z would form a 2-D planar rectangular <br>
Cartesian coordinate system. In this case, one would get an "accurate" <br>
2-D contour of the data contained in the r,z-plane.<br>
<br>
To get true 3-D contours (also known as, isosurfaces) from the <br>
(r,z,\varphi) coordinates, as you write out the simulation results from <br>
your software to the datum set for PV, use a transformation to convert <br>
(r,z,\varphi) into (x,y,z).<br>
<br>
Hope this helps<br>
<br>
Sam Key<br>
<br>
<br>
On 3/13/2017 4:43 AM, markus wrote:<br>
> Dear all,<br>
><br>
> i'm for a long time experiencing a contour plot problem in 3d. Our <br>
> scalar data is on a cylindrical (R,Z,\varphi) grid. A 3d contour of <br>
> the data produces correct "2d contours" in the RZ plane, but the <br>
> contours are elongated in the \varphi direction, even if the data <br>
> prefers another direction.<br>
><br>
> Image here:<br>
> <a href="ftp://ftp.uibk.ac.at/private/c7441143_20170403_7512b21ed0886d37bdf38b41d4056946">
ftp://ftp.uibk.ac.at/private/c7441143_20170403_7512b21ed0886d37bdf38b41d4056946</a>
<br>
><br>
><br>
> The prefered direction is aligned to a given vector field.<br>
><br>
> Is there a way to improve the 3d contours with a filter in paraview or <br>
> maybe with the help of the given vector field?<br>
><br>
> best regards<br>
> markus<br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <br>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at: <br>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
<br>
</div>
</span></font></div>
</body>
</html>