|
[Sponsors] |
[General] ParaView: How can I compute depth-average velocity? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 6, 2021, 09:20 |
ParaView: How can I compute depth-average velocity?
|
#1 |
New Member
Zürich
Join Date: Nov 2021
Posts: 5
Rep Power: 5 |
Dear community,
I am computing a 3D-simulation of open-channel flow using InterFoam. I want to compare my results (velocity) with a previous 2D simulation flow field, which means I need to compute the average velocity along z-direction for the cells which contain water. What I have done so far: 1. Threshold filter for phase alpha to remove cells with air 2. Interpolate velocity on regular grid You can see how the result looks in paraview below. Now it seems it should be easy to get the vertical average value but I haven't found the right operation yet. Does anybody know the answer in Paraview or can help me to convert the vtm file to numpy array (which I can handle)? Thanks a lot! |
|
Tags |
average velocity, interfoam, paraview |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
channel flow LES, no slip, velocity not zero in paraview | Tom Lauriks | Main CFD Forum | 9 | January 11, 2021 05:39 |
How to output the average pulsating velocity | wangziyang | OpenFOAM Programming & Development | 0 | October 2, 2020 23:29 |
Average Rising Velocity as boundary condition | Floing | CFX | 11 | August 21, 2016 06:47 |
how to choose the velocity to compute stokes number | Messi | FLUENT | 0 | May 7, 2014 07:51 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |