CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   HOWTO use fieldAverage (http://www.cfd-online.com/Forums/openfoam-solving/58085-howto-use-fieldaverage.html)

alesch January 19, 2009 11:25

Hello: I'm trying to use fi
 
Hello:

I'm trying to use fieldAverage, so I added the following to controlDict, in the cavity tutorial:
(sorry for the uggly format)


fieldAverage1
{
type fieldAverage;
functionObjectLibs ("libfieldAverage.so");

fields
(
U
{
mean on;
prime2Mean on;
base time;
}
p
{
mean on;
prime2Mean on;
base time;
}
);


This is the code from the detailed description of the class fieldAverage.
class fieldAverage documentation

I don't get any errors but I don't find any new averages either.
Where should I look for my averages?
What am I missing here?

Thanks in advance!

santos January 19, 2009 12:30

Hi, I think you are missing
 
Hi,

I think you are missing the lines:
functions
(
before
fieldAverage1

Regards,
Jose Santos

alexisespinosa March 23, 2010 00:34

libfieldFunctionObjects.so
 
/*I found that in OpenFoam1.6.x the library to use is:*/
functionObjectLibs ("libfieldFunctionObjects.so");

/*and you also need to add output control:*/

outputControl outputTime; //For example

linch August 25, 2011 09:59

Hi,

does anybody know, how to pass averaged Fields to solver? Or may be it is possible to execute the fieldAverage1 function directly for the solver and not through the controlDict? Don't be irritated if I'm telling nonsense :)

Best regards,
Ilya

morard October 11, 2011 06:00

Quote:

Originally Posted by linch (Post 321576)
Hi,

does anybody know, how to pass averaged Fields to solver? Or may be it is possible to execute the fieldAverage1 function directly for the solver and not through the controlDict? Don't be irritated if I'm telling nonsense :)

Best regards,
Ilya

Hi Ilya, did you make any progress regarding this problem?

Regards,
Dejan

owayz October 20, 2012 21:45

Hi all,
Is there any way to get the u' v' and w' (i.e.) velocity fluctuations in three directions either on some probe location or as a field (without averaging).

Regards,
Awais

morard October 22, 2012 01:51

Hi Awais,

check this thread and take a look at the solution proposed by Niklas.

http://www.cfd-online.com/Forums/ope...time-step.html

Regards,
Dejan


All times are GMT -4. The time now is 20:27.