wrong behavior of functionObject volAverage
There are some issues with the functionObjects in my simulation. I'm running an engine simulation and try to calculate the volume averages of some fields inside the cylinder. In order to this I defined a functionObject  in my controlDict. Unfortunately it's not behaving like I expected. Running this case (startTime 280, writeInterval 1) I get a directory ./volumeAverage_myAverage/280/ with files p,T,k... with the averages inside. So far, so good. But instead of getting new directories 281, 282 in ./volumeAverage_myAverage all the averages are written to the files p,T,k in ./volumeAverage_myAverage/280. And additionally the column "Time" in this files is some value with no relation to the timeStep or anything . For "Time" I expected 280.25 280.5...
I already play around with the valueOutput and outputControl options but whatever I set, it did always the same.
Next problem is the volume taken for averaging. I need to use a cellZone to get rid of the intake and exhaust cells and just averaging the cylinder cells. The "source cellZone" option should be great for this. But I played a little bit with it and did the banana test with the cellZone name. I expected to get an error like "Could not find cellZone with the name "banana" but it didn't complain.
My solver does already calculate a volume average of the complete field (including exhaust and intake) and it's exactly the same values as calculated with the functionObject and correct set "source cellZone" and "sourceName cylbox".
So what am I doing wrong?
I'm using OpenFOAM-1.5-dev and so I can't use swak4foam.
Thanks for your help in advance.
 functions in controlDict
|All times are GMT -4. The time now is 00:28.|