View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002347 | OpenFOAM | Bug | public | 2016-11-21 21:53 | 2016-11-22 15:32 |
Reporter | mukul92 | Assigned To | wyldckat | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | CentOS | OS Version | 6.7 |
Summary | 0002347: Error while calculating forces - could not find rho | ||||
Description | Hello, Here is the error message: [1] [1] --> FOAM FATAL ERROR: [1] Could not find rho [1] [1] From function void Foam::functionObjects::forces::initialise() [1] in file forces/forces.C at line 196. [1] FOAM parallel run exiting Here is the relevant part from the controlDict file: functions { forces_body1 { type forces; functionObjectLibs ( "libforces.so"); patches (body1); rhoName rhoInf; pName p; UName U; rhoInf 1.0; CofR (0 0 0); writeControl timeStep; //outputTime; writeInterval 10; } forces_body2 { type forces; functionObjectLibs ( "libforces.so"); patches (body2); rhoName rhoInf; pName p; UName U; rhoInf 1.0; CofR (6 0 0); writeControl timeStep; //outputTime; writeInterval 10; } } Is this a bug or some mistake in my inputs? I am reporting this because I couldn't find a solution in threads and found some other people having the same issue of late: http://www.cfd-online.com/Forums/openfoam/178985-hi-guy-i-have-problem-calculating-forces-blades-2-finding-forces.html I'm using version 4.1. Kindly let me know if you need more info from me on this. Thank you!! | ||||
Steps To Reproduce | Try to calculate "forces". | ||||
Tags | No tags attached. | ||||
|
Many thanks for the report and pointing out the thread where people have been asking about this! I moved that thread to here: http://www.cfd-online.com/Forums/openfoam-solving/178985-problem-calculating-forces-blades-2-finding-forces.html Now, the problem with everyone's report so far is that no one provided detailed steps on how to reproduce the problem :( Not even which solver was used. Therefore, please describe: 1. Which solver you are using? 2. What commands did you use to run the solver? 3. If you cannot provide a simple test case that reproduces this problem, can you please let us know which tutorial case can be used to reproduce this error? |
|
OK, I re-read the thread and the airfoil2D case can be used to test this. |
|
OK, I then looked in more detail and the problem is that the settings have changed. If you look at the documentation: http://cpp.openfoam.org/v4/a00866.html#details - you'll see that the '*Name' entries have been changed to this: rho rhoInf; p p; U U; Please try this and let us know if it solves the problem. |
|
Okay, I confirm that this solves the issue. Moving to OF-4 just helped me get around some bug which was crashing parallel runs of pimpleDyMFoam. Getting this on the thread would also help other people transitioning to OpenFOAM-4. Thank you very much! |
|
Many thanks for the feedback! OK, I'm closing this issue with "no change required". |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-21 21:53 | mukul92 | New Issue | |
2016-11-22 13:52 | wyldckat | Note Added: 0007271 | |
2016-11-22 13:54 | wyldckat | Note Added: 0007272 | |
2016-11-22 13:57 | wyldckat | Note Added: 0007273 | |
2016-11-22 15:20 | mukul92 | Note Added: 0007276 | |
2016-11-22 15:32 | wyldckat | Assigned To | => wyldckat |
2016-11-22 15:32 | wyldckat | Status | new => closed |
2016-11-22 15:32 | wyldckat | Resolution | open => no change required |
2016-11-22 15:32 | wyldckat | Note Added: 0007278 |