calculating mean streamwise velocity in LES
Dear Foamers
i run a backward facing step case with pisoFoam LES. Now, i want plot mean stream wise velocity diagram over a specific line. i have values of stream wise velocity in all time steps but i don't know how can i reach a diagram which show mean stream wise velocity in last time steps. :confused: . please tell me its scheme in paraView or Tecplot. (i know LES doesn't lead to steady state and doesn't have periodic manner but i saw different works which displayed mean stream wise velocity of BFS with LES.) Best, |
To obtain mean velocity (or other variables), you can use the fieldAverage function object during your simulation. This will calculate the average at each time step, and create mean fields.
For example, to average U and p just add the following to your controlDict : functions ( fieldAverage1 { // Type of functionObject type fieldAverage; // Where to load it from (if not already in solver) functionObjectLibs ("libfieldAverage.so"); // Fields to be averaged - runTime modifiable fields ( U { mean on; prime2Mean on; base time; } p { mean on; prime2Mean on; base time; } ); } ); |
Thanks Simon,
I don't want mean velocity in each time step. i want mean velocity in several time steps in end of simulation times to display a diagram of mean velocity over a line. i don't know how many time step should be considered to show MEAN manner and how to calculate this value. Best, |
Any idea ?
|
Quote:
http://www.cfd-online.com/Forums/ope...tatistics.html |
All times are GMT -4. The time now is 11:44. |