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

[General] selection of cells in python shell

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2017, 23:47
Default selection of cells in python shell
  #1
New Member
 
MASc Student
Join Date: Sep 2016
Posts: 24
Rep Power: 6
New-to-CFD is on a distinguished road
hello everyone,

does anyone have any idea how to make a cell selection on an object in the python shell? say by a bouding box perhaps?

i have tried tracing my steps in the GUI but the selection of the faces does not show up, and when i extract the selection it says my selection is equal to "None".

Any ideas?

Please and thanks!!!
New-to-CFD is offline   Reply With Quote

Old   May 29, 2017, 03:07
Default
  #2
New Member
 
Join Date: Jan 2017
Location: Germany
Posts: 19
Rep Power: 5
beral is on a distinguished road
Take a look here: https://www.cfd-online.com/Forums/pa...nside-box.html
Maybe you find there an answer.
beral is offline   Reply With Quote

Old   May 29, 2017, 12:41
Default
  #3
New Member
 
MASc Student
Join Date: Sep 2016
Posts: 24
Rep Power: 6
New-to-CFD is on a distinguished road
Beral,

Thanks for the link this is actually very close to what I need, I may be able to modify it but I figure i'd ask the last question:

Do you know if this operation is available for the Select Cells (shortcut "s" key) command rather than the Clip command?

I am looking at a 2-d projection of my object and want to select all the cells visible in that projection, so the Clip function you have mentioned would select too many cells.

Is it possible to specify a selection box for the select cells command?

Please excuse all the questions, I am very new to this and python.

Derek
New-to-CFD is offline   Reply With Quote

Reply

Tags
paraview, python

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Problem with divergence TDK FLUENT 13 December 14, 2018 06:00
[OpenFOAM] Integrate Variables using ParaView Python Shell cfdsolver1 ParaView 0 October 12, 2016 03:08
[snappyHexMesh] problems using snappyHexMesh 2.1.0 on a supercomputer Sunxing OpenFOAM Meshing & Mesh Conversion 9 September 20, 2014 09:30
How to get Python Shell into ParaView 3.8.1? blaise OpenFOAM Installation 3 July 24, 2012 04:58
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 03:23


All times are GMT -4. The time now is 20:53.