Merge pull request #5814 from akva2/fix_wcycle_parallel

Fix WCYCLE in parallel
This commit is contained in:
Arne Morten Kvarving 2024-12-19 11:02:13 +01:00 committed by GitHub
commit 15dcc39bcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View File

@ -367,6 +367,7 @@ public:
return wg_events.hasEvent(name, ScheduleEvents::REQUEST_OPEN_WELL);
});
wcycle_time_step = this->grid().comm().min(wcycle_time_step);
if (dt != wcycle_time_step) {
this->adaptiveTimeStepping_->updateNEXTSTEP(wcycle_time_step);
return true;

View File

@ -212,6 +212,14 @@ foreach(templ_case RANGE 1 6)
)
endforeach()
add_test_compare_parallel_simulation(CASENAME WCYCLE-0
FILENAME WCYCLE-0
SIMULATOR flow
ABS_TOL ${abs_tol_parallel}
REL_TOL ${rel_tol_parallel}
DIR wcycle
TEST_ARGS --enable-tuning=true)
add_test_compare_parallel_simulation(CASENAME actionx_m1
FILENAME ACTIONX_M1
SIMULATOR flow