mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 21:39:09 -06:00
change the name of computeSegmentDensitiesAndCompVolumeDt
to computeSegmentFluidProperties to include calculation of more fluid mixture in the segments.
This commit is contained in:
parent
8bde14d7ce
commit
3b3ac203d9
@ -279,7 +279,7 @@ namespace Opm {
|
||||
// Calculate the density of the mixture in the segments
|
||||
// And the surface volume of the components in the segments by dt
|
||||
void
|
||||
computeSegmentDensitiesAndCompVolumeDt(const SolutionState& state);
|
||||
computeSegmentFluidProperties(const SolutionState& state);
|
||||
|
||||
void
|
||||
computeSegmentPressuresDelta(const SolutionState& state);
|
||||
|
@ -509,7 +509,7 @@ namespace Opm {
|
||||
// Compute initial accumulation contributions
|
||||
// and well connection pressures.
|
||||
asImpl().computeAccum(state0, 0);
|
||||
asImpl().computeSegmentDensitiesAndCompVolumeDt(state0);
|
||||
asImpl().computeSegmentFluidProperties(state0);
|
||||
const int np = numPhases();
|
||||
assert(np == int(segment_comp_surf_volume_initial_.size()));
|
||||
for (int phase = 0; phase < np; ++phase) {
|
||||
@ -536,7 +536,7 @@ namespace Opm {
|
||||
return;
|
||||
}
|
||||
|
||||
asImpl().computeSegmentDensitiesAndCompVolumeDt(state);
|
||||
asImpl().computeSegmentFluidProperties(state);
|
||||
asImpl().computeSegmentPressuresDelta(state);
|
||||
|
||||
std::vector<ADB> mob_perfcells;
|
||||
@ -1667,7 +1667,7 @@ namespace Opm {
|
||||
|
||||
template <class Grid>
|
||||
void
|
||||
BlackoilMultiSegmentModel<Grid>::computeSegmentDensitiesAndCompVolumeDt(const SolutionState& state)
|
||||
BlackoilMultiSegmentModel<Grid>::computeSegmentFluidProperties(const SolutionState& state)
|
||||
{
|
||||
const int nw = wellsMultiSegment().size();
|
||||
const int nseg_total = state.segp.size();
|
||||
|
Loading…
Reference in New Issue
Block a user