|
[Sponsors] |
OpenFoam: time averaging velocity of a URANS Simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2019, 09:46 |
OpenFoam: time averaging velocity of a URANS Simulation
|
#1 |
New Member
Andrei
Join Date: Apr 2019
Posts: 1
Rep Power: 0 |
Hi there,
I'm running a pipe simulation with pimpleFoam and after the simulation I would like to average the velocity in the whole field on a specific segment of time. I know I could just use simpleFoam but the solution doesn't converge with simpleFoam. So I want to simulate with PimpleFoam check the periodicity of the Simulation and average the velocity in that period in order to get a similar result to a RANS simulation. Can anybody help me? Thank you |
|
August 22, 2019, 10:40 |
|
#2 |
Senior Member
Join Date: Mar 2018
Posts: 115
Rep Power: 8 |
Try to use fieldAverage function object.
Here is an example: Code:
fieldAverage1 { type fieldAverage; libs ("libfieldFunctionObjects.so"); writeControl writeTime; restartOnRestart false; restartOnOutput false; periodicRestart false; restartPeriod 0.002; fields ( U { mean on; prime2Mean on; base time; window 10.0; windowName w1; } p { mean on; prime2Mean on; base time; } ); } Code:
grep -R "fieldAverage" $FOAM_TUTORIALS |
|
Tags |
average velocity, pimplefoam, rans, simplefoam; convergence;, urans |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LES, Courant Number, Crash, Sudden | Alhasan | OpenFOAM Running, Solving & CFD | 5 | November 22, 2019 03:05 |
pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |