<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" 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="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:11.0pt;
font-family:"Calibri",sans-serif;}
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.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">So, I am no expert on what you are trying to do. But, here are a few thoughts:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">First, you don’t want to mix all five of your lines together, and just draw them through one plot data filter. ParaView won’t go down one line, and then to the next – it will display sorted on Point ID (I think). You want one Plot Data
filter for each slice/line. Attached is what I just did, for the multi-slice example. There are 5 separate slices, 5 separate Plot Data filters. I have then turned visibility on for all 5 filters into the same chart view. I then changed the color of each
filter’s Y Coordinate, so I could tell them apart.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What is the Plot Data filter doing? It is just going down the Point IDs, one after the other, plotting your data. Take the black line. Point Id 0 is at u == 71.36, Y == 0.147. It then draws a line to Point Id 1, which is at u == 71.271
and Y == 0.0923. This continues through your dataset. So, the “non continuous” part of the line is where the beginning point doesn’t match up against the ending point.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">A good way to drill into your data is with the Spreadsheet View. Notice the highlight around the Spreadsheet View window, and that visibility of Point Data2 is on. Also, note that you can sort this spreadsheet by clicking on the head
of a column, as I did on Point ID. Now, looking at the Y’s and u’s, you can see how ParaView is drawing the chart view.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So, in answer to your last question, I believe you again have to deal with each line individually.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does that help?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Alan<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">p.s. – I notice you are using Rainbow. May I suggest using Jet instead? It is much more linear, and doesn’t have such a large green area in the middle of the color table.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><img width="2112" height="1215" style="width:22.0in;height:12.6603in" id="Picture_x0020_1" src="cid:image003.jpg@01D3BC91.B79AED60"><o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> aguirre.flanker@gmail.com [mailto:aguirre.flanker@gmail.com]
<b>On Behalf Of </b>Miguel Aguirre<br>
<b>Sent:</b> Thursday, March 15, 2018 2:24 AM<br>
<b>To:</b> Scott, W Alan <wascott@sandia.gov><br>
<b>Cc:</b> paraview@public.kitware.com<br>
<b>Subject:</b> Re: [EXTERNAL] [Paraview] QUESTION ABOUT SLICE<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">Hello Mr. SCOTT,<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">Thanks for your answer.<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">Here I have attached the "TEST.pvsm" state file of a generic case (Potential flow around a cylinder) along with the related
<span style="color:#222222;background:white">"DATA.csv"</span>. The idea is to see the flowfield parameters along a line placed downstream<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">The PVSM file contains 4 layouts :<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">1) Single SLICE (Uses a “Slice”+”PlotData”)<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">2) PlotOnIntersectionCurves<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">3) PlotOverLine<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">4) Multiple Slices<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">All cases starts from the Delaunay 2D applied to the CSV data and in all cases I tried to plot the U-velocity vs Y-coordinate (With U-velocity shown along X-axis). As you can see, “PlotOnIntersectionCurves”
and “PlotOverLine” cases works fine: the “Uspeed vs Y” distribution is OK.<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">However the “Slice”+”PlotData” case (with a single slice) shows a bad connectivity between the points. It happens even if a refine the points cloud and even with structured and unstructured
cells (Fluent CFD cases not shown here).<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">Moreover, when I do multiple slices, the output array is just one single array containing data from all points merged together, so the PlotData does not allow to see each line separately.<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">What I really need is a multiple output line data in order to :<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">1) See distribution on each line<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">2) Then apply a filter to each line: I want to integrate values along each line and then plot it along X-axis. That’s why I was trying to use multiple slice (Already knowing that there is hard
way to do that: multiple “PlotOverLine”+”IntegrateVariables”(For each line)+”GroupDatSets”+”PlotData”)<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">There is a simpler way to do that? (I have the restriction that lines may be inclined, so doing a domain integration along Y-axis is not a good idea)<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:10.0pt;line-height:115%">Thanks in advance<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Miguel Angel AGUIRRE<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Wed, Mar 14, 2018 at 6:05 PM, Scott, W Alan <<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Miguel,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Can you pass Kitware the dataset? Also, please give detailed steps how to replicate this. For instance, did you change the X Array Name? A state file would be great.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Also, are you trying to use Plot Over Line? Now, assuming you have data throughout the line, this should have connectivity.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Alan<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> ParaView [mailto:<a href="mailto:paraview-bounces@public.kitware.com" target="_blank">paraview-bounces@public.kitware.com</a>]
<b>On Behalf Of </b>Miguel Aguirre<br>
<b>Sent:</b> Wednesday, March 14, 2018 2:30 AM<br>
<b>To:</b> <a href="mailto:paraview@public.kitware.com" target="_blank">paraview@public.kitware.com</a><br>
<b>Subject:</b> [EXTERNAL] [Paraview] QUESTION ABOUT SLICE<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello,<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I'am trying to use "Slice" and then "Plot Data" in order to obtain multiple survey lines in a 2D CFD simulation. I have 2 questions :<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">1) If i use one single slice, the plotted data is not a continuous line. Instead, it shows some bad conectivity between points (See attached figure "Slice - single plane.png").
How can I solve it ?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">2) When I use multiple slice, the plotted data is merged into one single array as you can see in the other attached file ( "Slice - multiple planes.png").However, i really need
one array for every slice because this multiple output will be treated later. There is a solution for this ?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Concerning the second question, i remark here that making multiple "PlotOnIntersectionCurves" and then "GroupdataSets" is not a viable option for me because I need to plot n-lines.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks in advance.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Miguel Angel AGUIRRE<o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>