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

spanwise average

Register Blogs Members List Search Today's Posts Mark Forums Read

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2019, 11:27
Default spanwise average
  #1
Member
 
DongHo
Join Date: Jul 2013
Posts: 47
Rep Power: 8
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, 16:50
Default
  #2
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 426
Rep Power: 13
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, 55 views)
jp279 and alonely3000 like this.
syavash is offline   Reply With Quote

Old   May 4, 2019, 00:52
Default
  #3
Member
 
DongHo
Join Date: Jul 2013
Posts: 47
Rep Power: 8
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, 17:06
Default
  #4
New Member
 
Abdulaziz Alkandari
Join Date: Apr 2019
Posts: 6
Rep Power: 2
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, 01:34
Default
  #5
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 426
Rep Power: 13
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 14:48
How to get spanwise average in Tecplot? ivanbuz Tecplot 3 July 17, 2014 16:08
Spanwise Average Nussel Number Along Flow saksham.pachar FLUENT 3 December 23, 2011 05:30
A hard one: how to get spanwise average in Fluent? ivanbuz FLUENT 2 February 17, 2011 03:44
Spanwise average in StarCCM+ Subhadeep Gan Siemens 3 April 12, 2007 21:46


All times are GMT -4. The time now is 17:52.