CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Solving forces & coeffs (

Astarta May 2, 2012 09:37

Solving forces & coeffs
Hello every1!
I`ve troubles with solving forces an coeffs
I use SRFSimpleFoam :

"--> FOAM Warning :
From function void forces::read(const dictionary&)
in file forces/forces.C at line 309
Could not find Uabs, p in database. "

" {
type forces
functionObjectLibs (";
patches (MODEL);
pName p;
UName Uabs;
log true;
rhoName rhoInf;
rhoInf 1.225;
CofR (0 0 0);
outputControl timeStep;
outputInterval 1;

Any help will be appreciated
Best regards,

colinB May 3, 2012 02:58


just a guess from the information you provided:


patches (MODEL);
pName p;
UName Uabs;

do these three entities contain the name of the patch
you want to calculate the forces on (patch) and the name
of the file specifying the pressure values (pName) and
velocity values (UName)
and are these files located in a folder named 0,
for the problem is:


Could not find Uabs, p in database

and the question is y? usually this is a naming or storing issue.

I hope I could contribute

Astarta May 4, 2012 05:08

Thanks! It helped, noweverything`s ok!

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