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

[General] threshold filter: irregular border of image

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By WhiteW

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 26, 2015, 09:50
Default threshold filter: irregular border of image
  #1
Member
 
Join Date: Dec 2015
Posts: 74
Rep Power: 11
WhiteW is on a distinguished road
Hi to everyone.
I have a problem using the threshold filter in Paraview.
When I use first the slice filter and then threshold filter on the internal fluid domain, I obtain an irregular border of the plot (as in the attached image), is there any option to have a smooth regular border of the image?
Thanks in advance,
WhiteW
Attached Images
File Type: png irregular_border.PNG (19.1 KB, 60 views)
WhiteW is offline   Reply With Quote

Old   December 28, 2015, 11:34
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick question: Which type of data representation are you selecting in the Threshold filter options? Are you selecting Point Data or Cell Data?
wyldckat is offline   Reply With Quote

Old   December 29, 2015, 07:04
Default
  #3
Member
 
Join Date: Dec 2015
Posts: 74
Rep Power: 11
WhiteW is on a distinguished road
Thanks for the reply, I'm using a Cell Data scalar, obtained with the calculator filter. But the same irregular border are present also when I chose a Point Data.

Whitew
WhiteW is offline   Reply With Quote

Old   December 29, 2015, 07:20
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi WhiteW,

Then it looks like you have a very high resolution mesh for your data.
I'm not familiar with any filters in ParaView can smooth out the data before you apply the Threshold filter; I say this because after the filter is applied, there isn't much more we can do to the data with ParaView filters... although... the only one that comes to mind is the "Delaunay 3D".

An example of using "Delaunay 3D" for resampling data points is available here: http://www.cfd-online.com/Forums/par...tml#post474006

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 29, 2015, 18:18
Default
  #5
Member
 
Join Date: Dec 2015
Posts: 74
Rep Power: 11
WhiteW is on a distinguished road
Yes I have a very high resolution mesh, it is a 16M cell size.
I tried to apply the "Delaunay 3D" filter, but the mesh has too many elements; after 6 hours paraview was still applying the filter..
I have found a different solution in order to obtain a threshold with smooth borders, using only the slice command.
- apply the slice
- rescale to custom data range (the range is that I wanted in the threshold filter)
- open the color map editor
- activate "enable opacity mapping for surfaces"

Now the slice is visible only in the selected range, as in the threshold. I used CellDAtaToPointData before the command in order to have more smooth borders.
Thanks anyway for the suggestion! ;-)
WhiteW
wyldckat likes this.
WhiteW is offline   Reply With Quote

Reply


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
dynLagrangian SGS model tidal_Tom OpenFOAM Running, Solving & CFD 43 November 16, 2022 06:13
Accumulating Dust on a Filter Cartridge WalterW CFX 21 May 26, 2020 07:23
how can use the LES filter? (laplace filter and anistropic filter) ethan oh OpenFOAM Running, Solving & CFD 11 December 26, 2018 03:37
LES Filter in Smagorinsky model on inhomogenous grids Ivan Main CFD Forum 1 October 25, 2012 12:30
Filter lifetime aszbestos FLUENT 0 February 13, 2002 08:59


All times are GMT -4. The time now is 19:55.