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

[General] First script

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2017, 11:44
Default First script
  #1
Member
 
badoumba
Join Date: Aug 2013
Posts: 68
Rep Power: 12
badoumba is on a distinguished road
Hi all,

Using paraFoam command to get my OF solver results in paraview, I am trying to script a tool where I could get the dimensions a specific object loaded and add a cut filter at a specific location based on these dimensions.

I've never done such a thing. Should I just start trying with the Python shell and simple.* loaded ?

Is there any example where I can get data from a scene object, and/or apply a filter an an existing object ? Every tuto I found works with the viewer.

Maybe should this be a single customFilter ?

Is all I need to achieve this is in this page?

Thank you guys.
badoumba is offline   Reply With Quote

Old   August 7, 2017, 12:29
Default
  #2
Member
 
badoumba
Join Date: Aug 2013
Posts: 68
Rep Power: 12
badoumba is on a distinguished road
Hi again,

I think I managed to run the basics.
How do I know which properties are available for a selected object ? GetProperty requires a property name. Can I list the available properties for my object? (aka the y range min and y range max in my case)

Thanks!
badoumba 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
Split connectors at their intersection FOUAD12 Pointwise & Gridgen 3 October 8, 2018 10:42
ZR Effect in Autogrid5 as a script parthiv1991 Fidelity CFD 0 July 30, 2018 09:10
[Workbench] Run ICEM Script in Workbench Script MIZOR ANSYS Meshing & Geometry 9 April 4, 2018 07:45
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 09:36
Perl script for intialisation pratik mehta CFX 2 September 10, 2008 03:09


All times are GMT -4. The time now is 12:39.