View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000444 | OpenFOAM | Bug | public | 2012-03-02 12:28 | 2012-03-12 08:23 |
Reporter | attesz86 | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | no change required | ||
Platform | x64 | OS | Ubuntu | OS Version | 11.10 |
Summary | 0000444: rotatingWallVelocity gives error | ||||
Description | The rotatingWallVelocity boundary condition gives the following error: --> FOAM FATAL IO ERROR: wrong token type - expected word, found on line 60 the doubleScalar 230.383 file: /nobackup/rm/felfoldi/OFsimulation/0/U::boundaryField::rotwall.*::omega at line 60. From function operator>>(Istream&, word&) in file primitives/strings/word/wordIO.C at line 74. FOAM exiting | ||||
Steps To Reproduce | "rotwall.*" { type rotatingWallVelocity; origin (0 0 0); axis (0 1 0); omega 230.3834; } I'm also using: "rotwall.*" { type rotatingWallVelocity; origin origin [0 1 0 0 0 0 0] (0 0 0); axis axis [0 0 0 0 0 0 0] (0 1 0); omega omega [0 0 -1 0 0 0 0] 230.3834; } But in the latter case, i'm getting another error: --> FOAM FATAL IO ERROR: Expected a '(' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 58 the word 'origin' file: /nobackup/rm/felfoldi/OFsimulation/0/U::boundaryField::rotwall.*::origin at line 58. From function Istream::readBegin(const char*) in file db/IOstreams/IOstreams/Istream.C at line 94. FOAM exiting | ||||
Additional Information | My case is an AMI simulation, with rotating walls. | ||||
Tags | No tags attached. | ||||
|
The former syntax is correct: "rotwall.*" { type rotatingWallVelocity; origin (0 0 0); axis (0 1 0); omega 230.3834; } Are you using a recent build of 2.1.x? |
|
No, I'm not. I checked the feature on a simplified case using the most recent build, and it works, so maybe this is the problem. I'll compile the code on our cluster and give you a feedback about my 20M cell case, if you are interested. Thank you. |
|
The final solution is to add a "constant" keyword before the value: "rotwall.*" { type rotatingWallVelocity; origin (0 0 0); axis (0 1 0); omega constant 230.3834; } |
|
Thanks for the update For info, in the current 2.1.x line the 'constant' entry can be omitted - these entries will fall back to the constant form for backwards compatibility |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-02 12:28 | attesz86 | New Issue | |
2012-03-02 12:39 |
|
Note Added: 0001104 | |
2012-03-02 13:50 | attesz86 | Note Added: 0001105 | |
2012-03-02 13:51 | attesz86 | Note Edited: 0001105 | |
2012-03-02 13:51 | attesz86 | Note Edited: 0001105 | |
2012-03-05 17:09 |
|
Status | new => resolved |
2012-03-05 17:09 |
|
Fixed in Version | => 2.1.x |
2012-03-05 17:09 |
|
Resolution | open => no change required |
2012-03-05 17:09 |
|
Assigned To | => user2 |
2012-03-10 11:36 | attesz86 | Note Added: 0001132 | |
2012-03-10 11:36 | attesz86 | Status | resolved => feedback |
2012-03-10 11:36 | attesz86 | Resolution | no change required => reopened |
2012-03-12 08:23 |
|
Note Added: 0001133 | |
2012-03-12 08:23 |
|
Status | feedback => resolved |
2012-03-12 08:23 |
|
Resolution | reopened => no change required |