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

spanwise average

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By eddykendo
  • 2 Post By syavash

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2019, 10:27
Default spanwise average
  #1
Member
 
DongHo
Join Date: Jul 2013
Posts: 51
Rep Power: 12
eddykendo is on a distinguished road
Hi, Foamers

I am working on a square cylinder problem in 3D on OF 4.0.
I am trying to spanwise average (here, z direction) the flow fields such as streamwise velocity, Reynolds stress components along y direction at a few x position.
I found a code somebody built from the past post, but it did not seem to work on OF 4.0.
If anybody has a code for this or knows how to easily do that using any other way on OF 4.xx, please let me know it.
I will appreciate you.

Thanks
alonely3000 likes this.
eddykendo is offline   Reply With Quote

Old   May 3, 2019, 15:50
Default
  #2
Senior Member
 
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by eddykendo View Post
Hi, Foamers

I am working on a square cylinder problem in 3D on OF 4.0.
I am trying to spanwise average (here, z direction) the flow fields such as streamwise velocity, Reynolds stress components along y direction at a few x position.
I found a code somebody built from the past post, but it did not seem to work on OF 4.0.
If anybody has a code for this or knows how to easily do that using any other way on OF 4.xx, please let me know it.
I will appreciate you.

Thanks
I had modified a tool for ver. 4.1 based on an old version. Hope it works for you.

Regards,
Syavash
Attached Files
File Type: zip postSpanwiseAverage.zip (10.5 KB, 187 views)
jp279 and alonely3000 like this.
syavash is offline   Reply With Quote

Old   May 3, 2019, 23:52
Default
  #3
Member
 
DongHo
Join Date: Jul 2013
Posts: 51
Rep Power: 12
eddykendo is on a distinguished road
Hi, Asgari

I really appreciate you for your code.
This really saves my time.

Thank you again!
eddykendo is offline   Reply With Quote

Old   September 2, 2019, 16:06
Default
  #4
New Member
 
Abdulaziz Alkandari
Join Date: Apr 2019
Posts: 6
Rep Power: 7
AbdulazizAlkandari is on a distinguished road
Hi Ehsan,
Does the whole mesh need to be structured or only the direction I would like to be averaged?
AbdulazizAlkandari is offline   Reply With Quote

Old   September 3, 2019, 00:34
Default
  #5
Senior Member
 
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by AbdulazizAlkandari View Post
Hi Ehsan,
Does the whole mesh need to be structured or only the direction I would like to be averaged?
Hi,

Well I PRESUME it should work. Please tell us the result if you tried it.

Regards,
Syavash
syavash is offline   Reply With Quote

Reply


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
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 13:48
How to get spanwise average in Tecplot? ivanbuz Tecplot 3 July 17, 2014 15:08
Spanwise Average Nussel Number Along Flow saksham.pachar FLUENT 3 December 23, 2011 04:30
A hard one: how to get spanwise average in Fluent? ivanbuz FLUENT 2 February 17, 2011 02:44
Spanwise average in StarCCM+ Subhadeep Gan Siemens 3 April 12, 2007 20:46


All times are GMT -4. The time now is 05:00.