|
[Sponsors] |
Velocity vector volume average - where to start |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 20, 2018, 09:44 |
Velocity vector volume average - where to start
|
#1 |
New Member
R Clement
Join Date: Feb 2018
Location: Edinburgh
Posts: 5
Rep Power: 8 |
Hi, I am new to OpenFoam and I am trying to model the mean air flow in the gap between the ends of two cylinders. The image below shows the plane through the centre-line of the two cylinders for the final time-step of my effort on this problem. The image is the x velocity component (left to right).
What I would like to get from this result if the volume average velocity components (Ux, Uy, Uz) for the volume between the ends of the two cylinders. However, I'm not sure where to begin. Should this be done in OpenFoam or Paraview or on the VTK data? If anyone can point me in the right direction (preferably with examples) that would be very much appreciated. Thanks |
|
March 1, 2018, 06:33 |
|
#2 |
New Member
R Clement
Join Date: Feb 2018
Location: Edinburgh
Posts: 5
Rep Power: 8 |
I found a 3-step way of doing this in ParaView:
1. Use 'Calculation' filter to create boolean field defining points within desired radius from cylinders' axes i.e. sqrt(coordY^2 + coordZ^2) < some_radius 2. Use 'Threshold' filter to select results from previous calculation filter that are greater than 0 3. Apply Integration filter on result from the Threshold filter. You need to normalize by the cell volumes and have the result display the cell values for the data (Ux, Uy and Uz) This is being done manually in paraFoam. If anyone knows how to do the equivalent in Openfoam, that would be appreciated |
|
Tags |
openfoam 5.0, post procesing, volume average |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I prescribe Average Velocity /Total Inlet Flow for a simple channel problem? | skuznet | OpenFOAM Pre-Processing | 4 | February 16, 2022 10:44 |
Stage Interface (Stage Average velocity vs Constant Total Pressure) | juzer_700 | CFX | 9 | August 29, 2019 06:01 |
Convective boundary condition using average velocity | bala_gk1988 | OpenFOAM Programming & Development | 1 | January 16, 2019 10:04 |
Average Rising Velocity as boundary condition | Floing | CFX | 11 | August 21, 2016 06:47 |
Average velocity over a section of cells | Radhika | Siemens | 4 | November 8, 2006 17:53 |