[Paraview] using cell data for plot over line
Hi; I am trying to use the plot over line utility. I use OpenFOAM and the field variables are stored at the cell centres. When I use "plot over line" the cell data are interpolated to the faces and then plotted (which masks a few detailed information). Is there a way to plot the cell data directly without any interpolation? Thanks; SaiD ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
Re: [Paraview] Finding volume enclosed by a contour.
Hi Tim; Yes I do think so it is somehow related to the OpenFOAM reader. I just tried a tutorial case from the CFD package and I still have the same data set with no additional data related to the volume/ area/ length. I am not sure if I understood your idea right, do you mean apply integrateVariables twice on the same threshold data set? "Sorry, I tried!" No worries this has been a long standing problem for my work. I am really happy that you shared your ideas with me. Saideep From: Gallagher, Timothy P [mailto:tim.gallag...@gatech.edu] Sent: 04 March 2017 18:07 To: Saideep Pavuluri ; paraview@paraview.org Subject: Re: Finding volume enclosed by a contour. Hmmm, interesting. It must be a function of the type of data from the OpenFOAM reader and I am unfamiliar with that reader. All of my datasets are structured and behave the way I mentioned earlier. I'm not sure how to get the volume from the dataset you have. Somebody else will have to chime in on this one. Just out of curiosity, if you IntegrateVariables again, does it condense the data into a single set of values? (That's a totally random guess -- maybe the first IntegrateVariables is coming up with the cell-averaged values from an unstructured dataset, and the second would do the integral of all the cell-averages). Sorry, I tried! Tim ________ From: Saideep Pavuluri mailto:saideep.pavul...@pet.hw.ac.uk>> Sent: Saturday, March 4, 2017 1:00 PM To: Gallagher, Timothy P; paraview@paraview.org<mailto:paraview@paraview.org> Subject: RE: Finding volume enclosed by a contour. Tim, I did try to vary from pointData to cellData but I see the same fields present. That is, I see no additional field being added. Attached is a screenshot (all the data from U are the variables being computed from my solver). I tried it over 4.x and 5.x versions of paraview so, I guess I am doing something wrong. Saideep From: Gallagher, Timothy P [mailto:tim.gallag...@gatech.edu] Sent: 04 March 2017 17:36 To: Saideep Pavuluri mailto:saideep.pavul...@pet.hw.ac.uk>>; paraview@paraview.org<mailto:paraview@paraview.org> Subject: Re: Finding volume enclosed by a contour. The IntegrateVariables filter creates a spreadsheet of PointData (or CellData, depending on where your data is stored in the filter just before IntegrateVariables) with the integral of your data over the volume/area/length depending on if it is 3D/2D/1D data respectively. It also adds a field to the CellData array that will be Volume/Area/Length respectively. My guess is if you aren't seeing it immediately it is because you are looking at the PointData array and not the CellData array. In the SpreadSheetView that opens up, change the Attribute dropdown from Point Data to Cell Data. Also, as a note -- the values for your variables (pressure, velocity, whatever) are multiplied by the length scale, so if you want the average value in the domain, you need to divide it by the length scale. Tim ____ From: Saideep Pavuluri mailto:saideep.pavul...@pet.hw.ac.uk>> Sent: Saturday, March 4, 2017 12:30 PM To: Gallagher, Timothy P; paraview@paraview.org<mailto:paraview@paraview.org> Subject: RE: Finding volume enclosed by a contour. Thanks Tim; I could precisely extract the bubble using the threshold filter as you said (attached picture). Coming to the 2nd step: I applied the integrate variables filter on the threshold data but I get the general data set values within individual cells like the computed velocity, pressure, etc How do I integrate the the region in space to find the enclosed volume? Sorry, if it's a basic question. Saideep From: Gallagher, Timothy P [mailto:tim.gallag...@gatech.edu] Sent: 04 March 2017 17:09 To: Saideep Pavuluri mailto:saideep.pavul...@pet.hw.ac.uk>>; paraview@paraview.org<mailto:paraview@paraview.org> Subject: Re: Finding volume enclosed by a contour. Your best bet would be to use the Threshold filter to extract the region where the scalar is greater (or less than) 0.5 and then use the IntegrateVariables filter on the Threshold. It's not entirely clear your exact pipeline, but it sounds like you are using the IntegrateVariables filter on the Contour, which would give you the surface area of the region instead. Tim ____ From: ParaView mailto:paraview-boun...@paraview.org>> on behalf of Saideep Pavuluri mailto:saideep.pavul...@pet.hw.ac.uk>> Sent: Saturday, March 4, 2017 11:36 AM To: paraview@paraview.org<mailto:paraview@paraview.org> Subject: [Paraview] Finding volume enclosed by a contour. Hi guys; I am using a numerical method (Volume of fluid, just for information) to look at the breaking of a bubble in a micro-channel. Attached picture. As mostly, the bubbles are of uniform size, I w
Re: [Paraview] Finding volume enclosed by a contour.
Thanks Tim; I could precisely extract the bubble using the threshold filter as you said (attached picture). Coming to the 2nd step: I applied the integrate variables filter on the threshold data but I get the general data set values within individual cells like the computed velocity, pressure, etc How do I integrate the the region in space to find the enclosed volume? Sorry, if it's a basic question. Saideep From: Gallagher, Timothy P [mailto:tim.gallag...@gatech.edu] Sent: 04 March 2017 17:09 To: Saideep Pavuluri ; paraview@paraview.org Subject: Re: Finding volume enclosed by a contour. Your best bet would be to use the Threshold filter to extract the region where the scalar is greater (or less than) 0.5 and then use the IntegrateVariables filter on the Threshold. It's not entirely clear your exact pipeline, but it sounds like you are using the IntegrateVariables filter on the Contour, which would give you the surface area of the region instead. Tim From: ParaView mailto:paraview-boun...@paraview.org>> on behalf of Saideep Pavuluri mailto:saideep.pavul...@pet.hw.ac.uk>> Sent: Saturday, March 4, 2017 11:36 AM To: paraview@paraview.org<mailto:paraview@paraview.org> Subject: [Paraview] Finding volume enclosed by a contour. Hi guys; I am using a numerical method (Volume of fluid, just for information) to look at the breaking of a bubble in a micro-channel. Attached picture. As mostly, the bubbles are of uniform size, I would like to know the volume of any one bubble formed. The bubble is represented by a scalar data set represented by 1 and bounded by the same data set with values 0. I think to clip the region enclosing one bubble and draw a contour where the scalar value is 0.5. Now, I tried the integrate variables filter but I did not find a data representing the volume. Any idea how can I get the volume enclosed by this contour? Any help appreciated. Thanks; SaiD ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] Finding volume enclosed by a contour.
Hi guys; I am using a numerical method (Volume of fluid, just for information) to look at the breaking of a bubble in a micro-channel. Attached picture. As mostly, the bubbles are of uniform size, I would like to know the volume of any one bubble formed. The bubble is represented by a scalar data set represented by 1 and bounded by the same data set with values 0. I think to clip the region enclosing one bubble and draw a contour where the scalar value is 0.5. Now, I tried the integrate variables filter but I did not find a data representing the volume. Any idea how can I get the volume enclosed by this contour? Any help appreciated. Thanks; SaiD ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] Precise location of contours on boundaries
Hi guys; Is there a way to know the precise location of a contour on the boundaries (as shown in picture)? I use the traditional tool "ruler", however when I have too many points to measure (as in the figure) by hand it gets complicated. I tried using the integrate variables(selecting the contour) however, the block numbering isn't consistent and I particularly want values only at the boundaries. I am dealing with meniscus and it has a specific curvature based on flow. Any advice here. Thanks; Saideep ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] Varying distance between threshold values plot over time in paraview
Hi guys; I would like to collect data of specific varying distance between two threshold values in paraview varying over time. How can I do that? Using a ruler for each time step looks to be a tedious job. Any suggestions.. thanks, Saideep - We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
[Paraview] Plotting data over complex surfaces.
Hello guys!! I have a question regarding plotting data of a variable. My case: I would like to plot data continuously over a L - section. I can imagine of two possibilities but both seems not to work for me. 1. Is it possible to use plot over line sort of utility over a 'L' shaped section? I tried a lot but couldn't get it done. 2. Is it possible to join two plot over lines into one continuous plot. {i.e. I can plot over two individual sections and join together the data}. This too seems not possible to be done. All I could ultimately do is to plot two individual plots for both the sections which isn't what I really want. Anybody with an idea of how can I plot over these sort of irregular surfaces. Saideep - We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview