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

[OpenFOAM] Cell selection with cylinder shape using frustum

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By JR22

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 3, 2013, 07:20
Default Cell selection with cylinder shape using frustum
  #1
New Member
 
Matthijs Zweemer
Join Date: Feb 2013
Posts: 5
Rep Power: 13
mzweemer is on a distinguished road
Dear all,

I'm currently analyzing my OpenFoam runs by the use of Paraview, which looks very nice. At this moment I want to analyze the change of some parameter on specific cells in my mesh; the outer cells of a cylinder. Hereby I want to view the data for these cells only and tried the use of frustum in the selection inspector. The problem is that I can only select a cubic shape in the 'Select Cells through' option, and I want to have a cylinder shape. I also implemented a cylinder source but am not able to get to the values herewith. Does someone how to tackle this?

Thanks!

Matthijs
mzweemer is offline   Reply With Quote

Old   May 5, 2013, 13:30
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Greetings Matthijs,

There is a filter in ParaView called "Extract Cells By Region". It's able to handle a plane, box or sphere surface as reference for the selection zone. But there isn't one for cylinders.

From your description, I think what you're looking for is to create a "cellZoneSet" or "cellSet", based on the geometry of a cylinder, by either selecting the inside or outside of the zone of interest. Search the forum for "setSet" and "topoSet", and you should find several points of interest.

As for later representing these zones/sets in ParaView, look carefully at the "Properties" tab on the lower left side of the screen. Activate the "zones" option, hit the button "Apply" and then select the respective zone/set on the lists on that tab, as if it were a patch name or field. Then hit the button "Apply" once again.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 5, 2013, 15:16
Default
  #3
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17
JR22 will become famous soon enough
Hi Matthijs,

There are two other paths as well. Option 1 is in the case your cylinder comes from your model, option 2 is if your cylinder is created after your solver gave you results:
  1. To separate all pre-defined Regions: Export to VTK using OpenFOAM's foamToVTK utility (from the command line within your case directory). This will create folders/files with independent VTK's. Then use paraview to load the files independently.
  2. To extract a region within a paraview Source volume/surface: Follow the directions in post #13 of this thread: http://www.cfd-online.com/Forums/ope...tor-field.html . The difference is that the thread's paraview Source element is a surface and not a volume, but it should work for your cylindrical source as well.
wyldckat likes this.

Last edited by JR22; May 5, 2013 at 16:35.
JR22 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
flow over a cylinder urgent! kevin FLUENT 8 August 11, 2015 13:00
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03
Help Me, what's the Cell Above any given cell in 3D. gomane8 Main CFD Forum 3 September 11, 2011 21:29
cell selection usker Siemens 2 December 19, 2008 04:50
selection of individual cells (not cell faces) kamal Siemens 0 January 17, 2008 01:00


All times are GMT -4. The time now is 17:34.