|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Sergey Zinkevich
Join Date: May 2011
Location: Russia, Moscow
Posts: 17
Rep Power: 16 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Aug 2010
Location: Groningen, The Netherlands
Posts: 216
Rep Power: 20 ![]() |
Hi,
just a guess from the information you provided: Code:
patches (MODEL); pName p; UName Uabs; 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 I hope I could contribute regards |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Sergey Zinkevich
Join Date: May 2011
Location: Russia, Moscow
Posts: 17
Rep Power: 16 ![]() |
Thanks! It helped, noweverything`s ok!
|
|
|
|
|
|
|
|
|
#4 |
|
New Member
Niranjan Prabhu
Join Date: Sep 2016
Location: chennai
Posts: 8
Rep Power: 11 ![]() |
--> FOAM FATAL IO ERROR:
keyword origin is undefined in dictionary "/home/user/OpenFOAM/user-2.4.0/run/work/3_waveflume/system/controlDict.functions.forces" file: /home/user/OpenFOAM/user-2.4.0/run/work/3_waveflume/system/controlDict.functions.forces from line 10 to line 24. forces { type forces; functionObjectLibs ( "libforces.so" ); outputControl timeStep; timeInterval 1; log yes; patches ( cylinder ); pName pd; UName U; rhoName rhoInf; // Indicates incompressible log true; rhoInf 1000; } any help please |
|
|
|
|
|
|
|
|
#5 | |
|
Member
Ricky
Join Date: Jul 2014
Location: Germany
Posts: 78
Rep Power: 13 ![]() |
Quote:
Code:
CofR (0 0 0) // also depends on your case
__________________
If it is easy, then something is fishy! |
||
|
|
|
||
|
|
|
#6 |
|
New Member
Niranjan Prabhu
Join Date: Sep 2016
Location: chennai
Posts: 8
Rep Power: 11 ![]() |
thank you KERA now it is running
CofR required ? In waves2Foam there is no p file i changed to pd which is available in this solver but unit of both p & pd are not same. Is any problem will come because of this? |
|
|
|
|
|
![]() |
| Tags |
| coeffs, forces, srfsimplefoam |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
| Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
| Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |
| IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
| Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |