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

HOWTO use fieldAverage

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2009, 10: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: 17
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, 11:30
Default Hi, I think you are missing
  #2
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
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 22, 2010, 23:34
Default libfieldFunctionObjects.so
  #3
New Member
 
Alexis Espinosa
Join Date: Aug 2009
Location: Australia
Posts: 20
Rep Power: 16
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: 176
Rep Power: 16
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: 16
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: 128
Rep Power: 17
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: 16
morard is on a distinguished road
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
morard is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto disable Solver Outputs holger_marschall OpenFOAM Running, Solving & CFD 7 January 25, 2018 17:33
MotionUBoundaryPatch assignment HowTo bfa OpenFOAM Running, Solving & CFD 22 November 24, 2011 11:52
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 Siemens 1 February 21, 2000 09:20


All times are GMT -4. The time now is 04:56.