|
[Sponsors] |
Not continuous averaging when restarting a calculation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 19, 2013, 04:22 |
Not continuous averaging when restarting a calculation
|
#1 |
New Member
nicolas
Join Date: Oct 2009
Posts: 24
Rep Power: 16 |
Hi to all,
I am using the fieldAverage function to calculate average quantities. I am using an updated version of OpenFOAM 2.2.x with the necessary fixes for the restarting to work, since there was a bug in the code (see http://www.openfoam.org/mantisbt/view.php?id=854). Restarting works just fine, my problem is that when I restart from a previous calculation, it seems that the averaging is not continuous as it should be. In order to look at the time evolution of a mean value I am using the probeFunction. I can reproduce my problem using the cavity tutorial. I start averaging from the beginning up to 0.5 sec of simulation time. Then I restart the simulation for another 0.5 sec. Below are the functions objects used at the end of the controlDict: Code:
functions { fieldAverage1 { type fieldAverage; functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled true; outputControl outputTime; resetOnOutput false; resetOnRestart false; fields ( p { mean on; prime2Mean off; base time; } ); } probesP { type probes; functionObjectLibs ("libsampling.so"); probeLocations ( (0.05 0.05 0.0) ); fields ( p pMean ); } } Am I doing something wrong with the flags that I am using, or is this a bug? Thanks, Nicolas |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Starting field averaging using libFunctionObject after certain time | eelcovv | OpenFOAM Programming & Development | 25 | December 7, 2015 22:28 |
MRF and Heat transfer calculation | Susan YU | FLUENT | 0 | June 2, 2010 08:46 |
Nusselt averaging in Unsteady calculation | elyyan | FLUENT | 0 | August 7, 2006 13:48 |
unsteady calculation and Nusselt averaging | elyyan | FLUENT | 0 | August 4, 2006 14:32 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |