|
[Sponsors] |
How to calculate mean velocity profile for channel flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 9, 2013, 11:03 |
How to calculate mean velocity profile for channel flow
|
#1 |
New Member
LI Bo
Join Date: Apr 2013
Posts: 13
Rep Power: 13 |
Dear all,
I want to calculate the mean velocity profile for channel flow. For the moment, I can do it with postChannel utility which performs a spatial average for a given moment. How to do it with time average over a range of time in OpenFOAM? I am new to OpenFOAM and I am not familiar with the utilities. Thanks for your help! |
|
January 24, 2019, 15:34 |
|
#2 | |
New Member
Alireza Maleki
Join Date: Aug 2017
Location: United State
Posts: 20
Rep Power: 9 |
Quote:
Hi michel i know this topic is very old but i'm eager to know, did you find a solution for you problem? |
||
November 18, 2019, 09:59 |
|
#3 |
Senior Member
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8 |
fieldAverage maybe work.
|
|
November 20, 2019, 10:09 |
|
#4 |
Senior Member
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 16 |
fieldAverage does the trick. Add the following code (works with OpenFOAM 6) to your controlDict and adjust writeControl, writeInterval, timeStart and the fields.
Code:
functions { fieldAverage { type fieldAverage; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; writeControl writeTime; writeInterval 1; timeStart 5; fields ( U { mean on; prime2Mean on; base time; } ); } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D pipe flow :: how to create non uniform inlet profile. | thess | FLUENT | 1 | May 30, 2014 03:43 |
How to apply an outlet velocity profile to another inlet? | siw | FLUENT | 4 | April 10, 2013 12:19 |
Steady pipe flow mean velocity higher than inlet velocity | anita | OpenFOAM Running, Solving & CFD | 7 | September 25, 2012 06:35 |
FSI- Pipe- uniform velocity profile inlet | Absy | Main CFD Forum | 0 | April 6, 2010 04:01 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |