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

[General] PDF of velocity values from a VTK file with some constraints

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2017, 06:51
Default PDF of velocity values from a VTK file with some constraints
  #1
New Member
 
Join Date: Oct 2015
Posts: 7
Rep Power: 11
cfdaddicted is on a distinguished road
I need to build a small Python script to generate a Probability Density Function of velocity values from a VTK file.
I have two arrays called flag and velocity and I want to generate a PDF of only one of the three components of velocity only when flag has values of 0 and 0.5 (at these values you have a cell of fluid).
Another feature is that I want to consider only a range of slices along the axial direction of my VTK file (for example from 50 to 200).
cfdaddicted is offline   Reply With Quote

Reply

Tags
numpy, python, vtk files


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
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 17:18
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 18:34
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


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