mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix error in restart files
This commit is contained in:
@@ -1892,6 +1892,11 @@ namespace Opm
|
||||
}
|
||||
}
|
||||
}
|
||||
// Accumulate dissolved gas and vaporized oil flow rates across all ranks sharing this well.
|
||||
{
|
||||
const auto& comm = this->parallel_well_info_.communication();
|
||||
comm.sum(ws.phase_mixing_rates.data(), ws.phase_mixing_rates.size());
|
||||
}
|
||||
|
||||
if (this->parallel_well_info_.communication().size() > 1) {
|
||||
// accumulate resWell_ and duneD_ in parallel to get effects of all perforations (might be distributed)
|
||||
|
||||
@@ -41,7 +41,6 @@ add_test_compare_parallel_simulation(CASENAME msw-simple
|
||||
FILENAME MSW-SIMPLE # this file contains one Multisegment well without branches that is distributed across several processes
|
||||
DIR msw
|
||||
SIMULATOR flow_distribute_z
|
||||
ONLY_SMRY 1
|
||||
ABS_TOL 1e4 # the absolute tolerance is pretty high here, yet in this case, we are only interested in the relative tolerance
|
||||
REL_TOL 1e-5
|
||||
MPI_PROCS 4
|
||||
@@ -51,7 +50,6 @@ add_test_compare_parallel_simulation(CASENAME msw-3d
|
||||
FILENAME MSW-3D # this file contains one Multisegment well with branches that is distributed across several processes
|
||||
DIR msw
|
||||
SIMULATOR flow_distribute_z
|
||||
ONLY_SMRY 1
|
||||
ABS_TOL 1e4 # the absolute tolerance is pretty high here, yet in this case, we are only interested in the relative tolerance
|
||||
REL_TOL 1e-4
|
||||
MPI_PROCS 4
|
||||
|
||||
Reference in New Issue
Block a user