View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004273 | OpenFOAM | Bug | public | 2025-09-12 14:26 | 2025-09-16 14:12 |
Reporter | cibanez | Assigned To | will | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Other | OS Version | (please specify) |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0004273: ballValve tutorial chrash at restart with backward time scheme | ||||
Description | fvMeshStitcher class exits upon a too large old-time volume conservation error when restarting the ballValve tutorial from a later time. During run time (if ddtScheme is changed to backward) it can be seen that this metric does not raise any issues and both volume conservation errors are the same magnitude. Problem only arises when restarting. | ||||
Steps To Reproduce | 1) change ddtScheme to backward. 3) run tutorial until a given time. 4) restart from latest time. | ||||
Additional Information | Change ddtScheme back to Euler to restart as old-time volume consrvation error is not calculated then. | ||||
Tags | No tags attached. | ||||
|
I have noticed that it works when writeFormat is changed to binary or when its ascii but with writePrecision of 11 or higher. |
|
You should probably writing in binary if you are restarting complex cases involving NCC and second-order time schemes. Nevertheless, we do in general try and increase the ascii precision of critical geometry fields to prevent issues like this. I have done a more complete job of this with relation to the fields used by the stitcher in the commit below, and this fixes your issue. https://github.com/OpenFOAM/OpenFOAM-dev/commit/284ba28375aadaa58926fb2fff4fc484ca25c56d |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-09-12 14:26 | cibanez | New Issue | |
2025-09-12 16:00 | cibanez | Note Added: 0013662 | |
2025-09-16 14:12 | will | Assigned To | => will |
2025-09-16 14:12 | will | Status | new => resolved |
2025-09-16 14:12 | will | Resolution | open => fixed |
2025-09-16 14:12 | will | Fixed in Version | => dev |
2025-09-16 14:12 | will | Note Added: 0013663 |