View Issue Details

IDProjectCategoryView StatusLast Update
0004273OpenFOAMBugpublic2025-09-16 14:12
Reportercibanez Assigned Towill  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Product Versiondev 
Fixed in Versiondev 
Summary0004273: ballValve tutorial chrash at restart with backward time scheme
DescriptionfvMeshStitcher 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 Reproduce1) change ddtScheme to backward.
3) run tutorial until a given time.
4) restart from latest time.
Additional InformationChange ddtScheme back to Euler to restart as old-time volume consrvation error is not calculated then.
TagsNo tags attached.

Activities

cibanez

2025-09-12 16:00

reporter   ~0013662

I have noticed that it works when writeFormat is changed to binary or when its ascii but with writePrecision of 11 or higher.

will

2025-09-16 14:12

manager   ~0013663

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

Issue History

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