<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="Title" content="">
<meta name="Keywords" content="">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I’m still not sure what you mean by “create the new coordinate system.” Do you perhaps mean that you want ParaView to render the data using positions in x1,y1,z1 instead of x,y,z? A straightforward
 way to do this is to use the calculator filter to perform your matrix transformation from x,y,z to x1,y1,z1 on the point coordinates array (names “coords” in the ParaView GUI) and then click the checkbox labeled “Coordinate Results”. That will write the results
 of the transformation into the point coordinates array and will have the effect of moving the data.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">-Ken<o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black"><o:p> </o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Manu V G <manu.gvm@gmail.com><br>
<b>Date: </b>Thursday, April 21, 2016 at 4:28 PM<br>
<b>To: </b>Kenneth Moreland <kmorel@sandia.gov><br>
<b>Cc: </b>"paraview@paraview.org" <paraview@paraview.org><br>
<b>Subject: </b>Re: [EXTERNAL] [Paraview] Coordinate system transformation<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p>Thanks for your quick reply.<br>
Sorry, I was not very clear. I will try to explain clearly here.<o:p></o:p></p>
<p>> Maybe somebody else understands better, but I am totally confused by what you are asking. It sounds like you have an original coordinate system x,y,z and a new coordinate system x1,y1,z1.
<o:p></o:p></p>
<p>I don't have the new coordinate system (x1,y1,z1) loaded in paraview. I compute the origin and unit vectors of new coordinate system that I need to create  in paraview using the programmable filter.<o:p></o:p></p>
<p>> Then you have a velocity vector u,v,w defined in the original coordinate system (x,y,z) that you want to transform to the new coordinate system (x1,y1,z1). This should be straightforward in either Calculator or Python Calculator or Programmable Filter.
 In fact, it sounds like you are already doing that.<o:p></o:p></p>
<p>Yes. I multiple the velocity vector in (x,y,z) system at all points by transformation matrix. Hence, a new vector is created in (x,y,z) coordinate system.<o:p></o:p></p>
<p>> When you say, “however, those velocities correspond to (x1,y1,z1) coordinate system,” I assume that means that you have already done this transformation. What do you mean by “associate these… velocities to a new coordinate system”? You just have associated
 them with the new coordinate system.<o:p></o:p></p>
<p>I meant the new vector created is associated with (x1,y1,z1) coordinate system. Now, I want to create the new coordinate system (x1,y1,z1) and associate the new vector to it. If I create a slice normal to 'y' direction in paraview, I want it to create a
 slice normal to 'y1' in new coordinate system.<o:p></o:p></p>
<p>I hope I am clear?..<o:p></o:p></p>
<p style="margin-bottom:12.0pt">Thanks and regards<br>
Manu<br>
<br>
<br>
<br>
<o:p></o:p></p>
<p>><br>
> From: ParaView <<a href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</a>> on behalf of Manu V G <<a href="mailto:manu.gvm@gmail.com">manu.gvm@gmail.com</a>><br>
> Date: Thursday, April 21, 2016 at 11:28 AM<br>
> To: "<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br>
> Subject: [EXTERNAL] [Paraview] Coordinate system transformation<br>
><br>
>  <br>
><br>
> Hello everyone!<br>
><br>
> Is it possible to create new local coordinate system (x1,y1,z1) and compute velocities in that (in short coordinate transformation) from the original system (x,y,z)? Google search did not help me much. And 'Transform' filter do not transform velocities to
 the new coordinate system (is a geometrical transformation).<br>
><br>
> Problem in detail :<br>
><br>
> I read a 3D velocity field in Paraview and compute orthogonal eigenvectors (x1,y1,z1) at a certain point 'O1' using 'Programmable Filter'. These eigenvectors (x1,y1,z1) act as basis for the new coordinate system with origin 'O1'. I am trying and just want
 to visualize velocity in plane z1=0. For this, I need to transform velocity field from original system to new coordinate system (x1,y1,z1). And I am trying solve it in the following way. Maybe there is simple way to do it Paraview.
<br>
><br>
> From eigenvectors, I can specify the plane (z1=0) by using a 'Slice' filter. The velocities in that plane correspond to the global velocity (u,v,w) in (x,y,z) coordinate system. Then, I use transformation matrix to compute new velocity vector (u1,v1,w1) using
 'Calculator' or 'Python Calculation'. However, those velocities correspond to (x1,y1,z1) coordinate system. So, is there a way to associate these newly computed velocities to a new coordinate system and plot them?<br>
><br>
> Or is there a different way to do it Paraview?<br>
><br>
>  <br>
><br>
> I would be very thankful for your suggestions and inputs.<br>
><br>
><br>
><br>
> Thanks in advance, yours<br>
><br>
> --<br>
><br>
> Manu V Goudar<br>
><br>
> Lab of Aero & Hydrodynamics,<br>
><br>
> Delft University of Technology<br>
><br>
> Delft, The Netherlands<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>