CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

HOWTO use fieldAverage

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 19, 2009, 11:25
Default Hello: I'm trying to use fi
  #1
New Member
 
Alex Schenkman
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 13
Rep Power: 8
alesch is on a distinguished road
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!
alesch is offline   Reply With Quote

Old   January 19, 2009, 12:30
Default Hi, I think you are missing
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

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

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   March 23, 2010, 00:34
Default libfieldFunctionObjects.so
  #3
New Member
 
Alexis Espinosa
Join Date: Aug 2009
Location: Australia
Posts: 12
Rep Power: 7
alexisespinosa is on a distinguished road
/*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
alexisespinosa is offline   Reply With Quote

Old   August 25, 2011, 09:59
Default
  #4
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 174
Rep Power: 7
linch is on a distinguished road
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
linch is offline   Reply With Quote

Old   October 11, 2011, 06:00
Default
  #5
Member
 
Dejan Morar
Join Date: Nov 2010
Posts: 78
Rep Power: 7
morard is on a distinguished road
Quote:
Originally Posted by linch View Post
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
morard is offline   Reply With Quote

Old   October 20, 2012, 21:45
Default
  #6
Senior Member
 
Awais Ali
Join Date: Feb 2010
Location: Germany
Posts: 125
Rep Power: 8
owayz is on a distinguished road
Send a message via MSN to owayz
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
owayz is offline   Reply With Quote

Old   October 22, 2012, 01:51
Default
  #7
Member
 
Dejan Morar
Join Date: Nov 2010
Posts: 78
Rep Power: 7
morard is on a distinguished road
Hi Awais,

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

Mean value at each time step

Regards,
Dejan
morard is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MotionUBoundaryPatch assignment HowTo bfa OpenFOAM Running, Solving & CFD 22 November 24, 2011 12:52
Howto disable Solver Outputs holger_marschall OpenFOAM Running, Solving & CFD 6 September 1, 2008 09:18
Accessing the SVN Repository Howto philippose OpenFOAM Installation 3 August 31, 2007 15:39
temperature gradient howto tomasz bednarz FLUENT 0 April 27, 2006 00:35
chemical reaction - howto Dan Sorensen CD-adapco 1 February 21, 2000 10:20


All times are GMT -4. The time now is 16:45.