View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000854 | OpenFOAM | Bug | public | 2013-05-18 08:31 | 2013-05-29 11:01 |
Reporter | jtriesch | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 12.04 |
Summary | 0000854: fieldAverage crashes run when restarting | ||||
Description | Hi, since recently I experience that the fieldAverage functionObject crashes runs when restarting the case with a different endTime (using startTime=startFrom=latestTime). A segmentation fault occurs after "fieldAverage: restarting averaging for fields:". Has been working fine before. | ||||
Steps To Reproduce | Using the tutorial icoFoam cavity case I can reproduce the problem. Modify controlDict so that startFrom/startTime = latestTime and adding the functionObject at the end: functions { fieldAverage1 { type fieldAverage; functionObjectLibs ( "libfieldFunctionObjects.so" ); outputControl outputTime; resetOnOutput off; fields ( p { mean on; prime2Mean off; base time; } ); } } Running the case initially with an endTime=0.5 and a second time with endTime=1.5 I get the attached report. | ||||
Tags | No tags attached. | ||||
|
|
|
I can confirm this behaviour in the latest 2.2.x from Github, and can add that this is only a problem when "resetOnRestart" is off/false (which is the default behaviour AFAIK). If "resetOnRestart" is on/true, there is no crash. |
|
Thanks for the report - fixed by commit ad85969 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-18 08:31 | jtriesch | New Issue | |
2013-05-18 08:31 | jtriesch | File Added: icoFoam.log | |
2013-05-18 09:29 |
|
Note Added: 0002216 | |
2013-05-29 11:00 |
|
Note Added: 0002253 | |
2013-05-29 11:00 |
|
Status | new => resolved |
2013-05-29 11:00 |
|
Fixed in Version | => 2.2.x |
2013-05-29 11:00 |
|
Resolution | open => fixed |
2013-05-29 11:00 |
|
Assigned To | => user2 |