CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > ParaView

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

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2017, 05:51
Default PDF of velocity values from a VTK file with some constraints
New Member
Join Date: Oct 2015
Posts: 7
Rep Power: 10
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


numpy, python, vtk files

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

All times are GMT -4. The time now is 21:15.