[Paraview] Extracting data on the surface of a block?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Jan 30 12:25:56 EST 2018


Loius,

Looks like what you have is quite reasonable. You can drop the
"Extract Surface" filter and simply connect the "Plot On Intersection
Curves" to the "Merge Blocks" as the "Plot On .." filter does an
"Extract Surface" internally.

Another option, if you want finer control over the sampling resolution
would be to use the "Resample With Dataset" filter" with a custom
source that correponds to the sampling locations. I created one by
using a Sphere source and then slicing it. State attached. By changing
the resolution of the Sphere, you can change the refinement.

Hope that helps

Utkarsh



On Sat, Jan 27, 2018 at 12:16 PM, Steytler, Louis Louw
<steytle1 at illinois.edu> wrote:
> Utkarsh,
>
> The attached state file should work with the data I sent.
>
> Thanks very much,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steytle1 at illinois.edu
> ________________________________
> From: ParaView [paraview-bounces at paraview.org] on behalf of Steytler, Louis
> Louw [steytle1 at illinois.edu]
> Sent: 26 January 2018 06:27 AM
> To: Utkarsh Ayachit
>
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] Extracting data on the surface of a block?
>
> Utkarsh,
>
> I forget, meant to say blocks 1 and 2 represent the drop. I actually
> extracted and merged these two in ParaView.
>
> Will send a state file soon, apologies for late, I have been traveling the
> past two days.
>
> Thanks again,
>
> Louis Steytler
> Department of Mechanical Science and Engineering
> University of Illinois at Urbana-Champaign
> 1206 West Green Street
> Urbana, IL 61801
> steytle1 at illinois.edu
>
> On 24 Jan 2018 8:50 AM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> wrote:
>
> Louis,
>
> Can you also attach a state file for the vis you're generating
> currently, so I get a starting point? I am not sure which block is the
> oil drop.
>
> Thanks,
> Utkarsh
>
> On Tue, Jan 23, 2018 at 8:12 PM, Steytler, Louis Louw
> <steytle1 at illinois.edu> wrote:
>> Hi Utkarsh,
>>
>> My data file is rather large, but here is a link to the data:
>>
>> https://uofi.box.com/s/u4hpipt8kbo0u3oxhz92xeya75kzf6kd
>>
>> Please let me know if this is too large and I can try to send a smaller
>> version.
>>
>> I have been using "save data". It seems I have data sets under the
>> "Composite Data Set Index" list in the PlotOnIntersection pipeline.
>>
>> How is "Chart View" selected again? I didn't find it in the "View" drop
>> down menu at the top, but I was able to open a new layout and select
>> "SpreadSheetView".
>>
>> Thanks again,
>>
>> Louis Steytler
>> Department of Mechanical Science and Engineering
>> University of Illinois at Urbana-Champaign
>> 1206 West Green Street
>> Urbana, Il 61801
>> steytle1 at illinois.edu
>> ________________________________________
>> From: Utkarsh Ayachit [utkarsh.ayachit at kitware.com]
>> Sent: 23 January 2018 09:32 AM
>> To: Steytler, Louis Louw
>> Cc: paraview at paraview.org
>> Subject: Re: [Paraview] Extracting data on the surface of a block?
>>
>> By "Export View", I meant "Export Scene" under the "File" menu.
>>
>> On Tue, Jan 23, 2018 at 10:31 AM, Utkarsh Ayachit
>> <utkarsh.ayachit at kitware.com> wrote:
>>> Louis,
>>>
>>>> This seemed to produce reasonable looking results, but I was not able to
>>>> specify the number of points along the arc where data was extracted.
>>>
>>> PlotOnIntersectionCurves essentially slices the dataset using a
>>> implicit plane. The points you get are indeed the insection points
>>> between your polydata and the plane and hence there's no control over
>>> how many points there can be, besides what's determined by your mesh.
>>>
>>> If you can share the sample data (feel free to do it off the list,if
>>> you'd like), I can see what other options may work.
>>>
>>>>Also,  upon saving, three files were produced file0.csv, file1.csv,
>>>> file2.csv, and
>>>> file3.csv. Not sure why I am not getting just one file?
>>>
>>> Are you using "save data"? I'd suggest selecting the "Chart View" and
>>> then using "Export View" option to export the curves. That will give
>>> you a since CSV for the fields you've selected.
>>>
>>> Utkarsh
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: using-resample.pvsm
Type: application/octet-stream
Size: 550629 bytes
Desc: not available
URL: <https://paraview.org/pipermail/paraview/attachments/20180130/50a7f4f8/attachment-0001.obj>


More information about the ParaView mailing list