CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Solving forces & coeffs (http://www.cfd-online.com/Forums/openfoam-solving/101373-solving-forces-coeffs.html)

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. "

conrtolDict:
" {
type forces
functionObjectLibs ("libforces.so);
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,
Astarta

colinB May 3, 2012 02:58

Hi,

just a guess from the information you provided:

Code:


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:

Code:


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
regards

Astarta May 4, 2012 05:08

Thanks! It helped, noweverything`s ok!


All times are GMT -4. The time now is 02:34.