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

Friction coefficients using icoFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 23, 2010, 10:22
Default Friction coefficients using icoFoam
  #1
New Member
 
Walid JARRAH
Join Date: Nov 2009
Location: INSA de Rouen
Posts: 14
Rep Power: 16
wjarrah is on a distinguished road
Send a message via MSN to wjarrah Send a message via Skype™ to wjarrah
Hello everyone,

I need to plot the friction coefficient using icoFoam solver on a flat plate.

I tried to add the following lines at the end of /system/controlDict, but an error appears when calling "icoFoam" :

functions
(
forces
{
type forces;
functionObjectLibs ("libforces.so");
patches (wall);
rhoInf 1000;
CofR (0 0 0);
}
forceCoeffs
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
patches (wall);
rhoInf 1000;
CofR (0 0 0);
liftDir (0 1 0);
dragDir (1 0 0);
pitchAxis (0 0 0);
magUInf 0.13;
lRef 1;
Aref 1;
}
);



The error :
Create time

Create mesh for time = 0

Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi

Courant Number mean: 0 max: 0.052

Starting time loop



keyword outputControl is undefined in dictionary "::functions::forces"

file: ::functions::forces from line 59 to line 63.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 388.

FOAM exiting



Can someone help me with this problem please ?
(Maybe there is another way to output the friction coefficient ?)

Thanks
wjarrah is offline   Reply With Quote

 


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
Calculate aerodynamic coefficients with openfoam using only opensource programs Xwang OpenFOAM 20 May 20, 2016 11:26
Density in icoFoam Densidad en icoFoam manuel OpenFOAM Running, Solving & CFD 8 September 22, 2010 04:10
Computing aerodynamic coefficients on bidimensional sections in 3D problems Aragon FLUENT 0 July 22, 2009 04:07
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52
Compute Skin friction coef by hand Francois FLUENT 1 February 10, 2006 06:21


All times are GMT -4. The time now is 14:13.