|
[Sponsors] |
How to perform surface averaging in one direction |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17 ![]() |
Hello Foamers,
I am trying to simulate LES of aerofoil which is having 0.1 m chord length (x-axis) and 0.01 in span direction (z direction). Now I need the velocity profiles in chord-wise direction suppose at 4 locations 0.01, 0.04, 0.07 and 0.1. So I need to average in (span wise) z direction and plot the velocity profiles at these 4 locations. I am trying with line sample utility but this won't average in the z direction I guess, is there any easy way to fix this ? Any suggestion will be a great help. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Ardalan
Join Date: Jul 2012
Location: Atlanta, USA
Posts: 79
Rep Power: 14 ![]() |
hi,
have you tried 'postChannel' for your purpose. I guess it should work by the its original form otherwise you can modify the code for your sake! |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17 ![]() |
Hello Ardalan,
Thanks a lot for your help, could you please elaborate something how to use it? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 ![]() |
Hi,
If your mesh is a structured one, you can use columnAverage function object to calculate spanwise average: https://www.openfoam.com/documentati...mnAverage.html Hope this helps, Fumiya
__________________
[Personal]
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17 ![]() |
Hello Fumiya,
Thanks for your help and reply but unfortunately this case don't have structured mesh. Was wondering if some kind of sampling utility is there in openFOAM which first averaged the data in z direction and then using the "linesample--type sets" can give the final data in the required line (which could be added in controlDic). Thanks again for your time and help. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 ![]() |
Hi Chandra,
I think there is not straightforward way in the case of unstructured meshes. As you know, line samplings are possible using sample function in OpenFOAM. So, the following procedure will give you approximate values:
Hope this helps, Fumiya
__________________
[Personal]
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Averaging in theta direction in an annular geometry | shivamswarnakar72 | OpenFOAM Post-Processing | 2 | July 1, 2020 02:55 |
[snappyHexMesh] snappyHexMesh generates not planar surface | krzychu111 | OpenFOAM Meshing & Mesh Conversion | 2 | April 23, 2020 16:38 |
[OpenFOAM] Averaging over spatial direction in paraView | Crazyman2008 | ParaView | 1 | May 5, 2014 05:34 |
[CFD POST ] Averaging Values for one direction | max3.2 | CFX | 6 | May 4, 2011 14:15 |
Normal - Helical Surface | m. malik | Main CFD Forum | 3 | February 3, 2006 12:56 |