How to calculate mean velocity profile for channel flow
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! |
Quote:
Hi michel i know this topic is very old but i'm eager to know, did you find a solution for you problem?:confused::confused: |
fieldAverage maybe work.
|
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 |
All times are GMT -4. The time now is 10:42. |