|
[Sponsors] |
[General] PDF of velocity values from a VTK file with some constraints |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 21, 2017, 06:51 |
PDF of velocity values from a VTK file with some constraints
|
#1 |
New Member
Join Date: Oct 2015
Posts: 7
Rep Power: 11 |
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). |
|
Tags |
numpy, python, vtk files |
|
|
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 |