CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Velocity vector volume average - where to start

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2018, 09:44
Default Velocity vector volume average - where to start
  #1
New Member
 
R Clement
Join Date: Feb 2018
Location: Edinburgh
Posts: 5
Rep Power: 8
rclement is on a distinguished road
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
Attached Images
File Type: png cylinder.png (20.1 KB, 16 views)
rclement is offline   Reply With Quote

Old   March 1, 2018, 06:33
Default
  #2
New Member
 
R Clement
Join Date: Feb 2018
Location: Edinburgh
Posts: 5
Rep Power: 8
rclement is on a distinguished road
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
rclement is offline   Reply With Quote

Reply

Tags
openfoam 5.0, post procesing, volume average


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


All times are GMT -4. The time now is 14:12.