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

[General] ParaView: How can I compute depth-average velocity?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2021, 09:20
Default ParaView: How can I compute depth-average velocity?
  #1
New Member
 
Zürich
Join Date: Nov 2021
Posts: 5
Rep Power: 5
river_fish is on a distinguished road
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!
Attached Images
File Type: jpg U_water_regular_grid.jpg (78.0 KB, 34 views)
river_fish is offline   Reply With Quote

Reply

Tags
average velocity, interfoam, paraview


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
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


All times are GMT -4. The time now is 11:04.