CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Calculate distances between two arbitrary surfaces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2018, 06:45
Default Calculate distances between two arbitrary surfaces
  #1
New Member
 
Martin
Join Date: Jan 2018
Posts: 3
Rep Power: 8
MTMILLS87 is on a distinguished road
Hello,

I am looking to compare the deflection/change in a surface relative to a reference surface and ultimately plot the contours of this. These surfaces may not have the same number of "points". I had a search of the forum but did not spot anything.

I have had success in the past using a programmable filter to interact with vtkPolyData to present a delta in radius of a surface based off a reference line. I have heard of a vtkDistancePolyDataFilter but have been unable to find an example using it that would fit my purpose or get it to work by trial and error myself. Essentially from two surface objects (reference and deformed) in my pipeline I would like to pass them to the programmable filter and then have this output an array on the deformed surface.

Has anyone any suggestions or material to look at. Or even a different approach.

I am using Paraview V 4.1.0.

Cheers!
MTMILLS87 is offline   Reply With Quote

Old   February 22, 2018, 13:45
Default [solved]
  #2
New Member
 
Martin
Join Date: Jan 2018
Posts: 3
Rep Power: 8
MTMILLS87 is on a distinguished road
Just using the vtkDistancePolyDataFilter without any fettling turned out to do what I required in the end. Not sure what I was doing before.

Cheers.
MTMILLS87 is offline   Reply With Quote

Reply

Tags
calculate distance, deform


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate Cell Centre to Cell Face Distances iamed18 OpenFOAM Programming & Development 16 May 27, 2022 04:08
Creating arbitrary surfaces in meshed domain suh OpenFOAM 7 August 20, 2019 14:27
How to calculate mass flow rate through arbitrary rectangle plane in paraview manoj_nav OpenFOAM Pre-Processing 1 March 10, 2016 03:16
Heat flux through a device Reunion STAR-CCM+ 7 January 18, 2012 11:35
Faceted surfaces in ICEM Chriss Main CFD Forum 1 May 6, 2008 16:18


All times are GMT -4. The time now is 00:41.