|
[Sponsors] |
September 2, 2009, 11:35 |
Forces in V1.6
|
#1 |
Member
Terry Barnaby
Join Date: Mar 2009
Location: Beam Ltd, UK
Posts: 44
Rep Power: 17 |
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 ? |
|
|
|
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 |