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

Forces in V1.6

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 2, 2009, 11:35
Default Forces in V1.6
  #1
Member
 
Terry Barnaby
Join Date: Mar 2009
Location: Beam Ltd, UK
Posts: 44
Rep Power: 17
terrybarnaby is on a distinguished road
Hi, I have updated from 1.5 to 1.6 (GIT source). I have modified some of my cases control files to get OpenFOAM 1.6 to work but I am having problems with forces in simpleFoam.
I get the error message:
--> FOAM Warning :
From function void forces::read(const dictionary& dict)
in file forces/forces.C at line 277
Could not find U, p or rho in database.
De-activating forces.
--> FOAM Warning :
From function void forces::read(const dictionary& dict)
in file forces/forces.C at line 277
Could not find U, p or rho in database.
De-activating forces.
My controlDict force configuration is:

functions
(
forces
{
type forces;
functionObjectLibs ("libforces.so");
outputControl outputTime;

// Patches to sample
patches (car_car);
// Name of fields
pName p;
Uname U;
// Dump to file
log true;
// Density
rhoInf 1.17;
// Centre of rotation
CofR (0 0 0);
}

forceCoeffs
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
outputControl outputTime;

// Patches to sample
patches (car_car);
// Name of fields
pName p;
Uname U;
// Dump to file
log true;
// Density
rhoInf 1.17;
// Centre of rotation
CofR (0 0 0);

// Direction for lift
liftDir (0.0 1.0 0.0);
// Direction for drag
dragDir (1.0 0.0 0.0);

// Pitching axis
pitchAxis (0 0 0);

magUInf 13.0;

lRef 2.5;
Aref 0.296256;
}
);

Any one have any idea what is wrong ?
terrybarnaby 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
changes to forces in 1.6 linnemann OpenFOAM Running, Solving & CFD 0 July 30, 2009 08:49
Strange results from interFoam solution converges but sum of all forces not equal to zero nicasch OpenFOAM Running, Solving & CFD 0 April 15, 2008 02:01
2d foil pressure forces problem mayor FLUENT 4 December 1, 2003 03:57
viscous-pressure forces nico FLUENT 0 June 9, 2003 14:41
Valve Forces in CFdesign Mike Clapp Main CFD Forum 3 March 8, 2001 14:09


All times are GMT -4. The time now is 03:08.