|
[Sponsors] |
Ensemble average for oscillatory flow in OpenFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 25, 2013, 12:13 |
Ensemble average for oscillatory flow in OpenFoam
|
#1 |
New Member
Pietro Danilo Tomaselli
Join Date: Oct 2012
Location: Lyngby, DTU
Posts: 9
Rep Power: 13 |
Hi guys!
This is my first post here. I googled my problem a lot of times but I didn't find anything about this topic neither here nor in other web sites. I'm simulating a turbulent oscillatory flow in a channel with my own modified solver based on channelFoam solver. The flow is driven by a periodic pressure gradient, therefore the velocity is also periodic for a given point in the domain. Now, I'd like to calculate the Umean field, but I cannot use the normal fieldAverage library: since the flow is oscillatory, averaging based on time is useless, and I should use an ensemble averaging. In substance, I want to calculate the arithmetic mean of the velocity for each phase of the periodic flow. For instance, if the duration of the simulation is 4*Period, U_mean for phase = 0° is: (U(1st Period, phase = 0°) + U(2nd Period, phase = 0°) + U(3rd Period, phase = 0°) + U(4th Period, phase = 0°))/4. I'm thinking to modify the fieldAverage code in order to calculate what I want, but I don't know how. I can look into the code, but I'm not able to modify it. Does anyone have a better idea? Did anyone try to do anything similar? Could you give to me any hints please? I'm using OpenFoam 2.0.1. Thanks in advance Danilo |
|
May 22, 2013, 05:59 |
|
#2 |
New Member
Pietro Danilo Tomaselli
Join Date: Oct 2012
Location: Lyngby, DTU
Posts: 9
Rep Power: 13 |
Hi guys!
It seems that this problem is just mine! Anyway, I read that release 2.1.1 of OpenFoam can do an ensemble averaging in post-processing. Unfortunately I don't have the opportunity to test this new release now, so does anyone use this feature yet? Could it be the solution of my problem? Thanks in advance Danilo |
|
July 22, 2014, 07:33 |
|
#3 |
Member
Thangam Natarajan
Join Date: Dec 2010
Location: Perth
Posts: 70
Rep Power: 16 |
Hi Pietro,
Did you manage to solve this issue? I am facing this as well! Thanks. Thangam. |
|
Tags |
ensemble, openfoam, oscillatory |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM for subsurface flow, or coupling with a subsurface flow code? | chljl | OpenFOAM Running, Solving & CFD | 0 | February 14, 2012 20:38 |
isotropic homogeneous turbulent flow field with OpenFoam | Matthias89 | OpenFOAM | 2 | February 5, 2012 08:26 |
Spanwise Average Nussel Number Along Flow | saksham.pachar | FLUENT | 3 | December 23, 2011 05:30 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |