mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Bug fix massGas in place
This commit is contained in:
parent
da5f20a0d9
commit
955cdbf02f
@ -1610,7 +1610,7 @@ private:
|
||||
const Scalar mM = FluidSystem::molarMass(gasCompIdx, fs.pvtRegionIndex());
|
||||
const Scalar massGas = (1 - xgW) * pv * rhog;
|
||||
if (!this->fip_[Inplace::Phase::CO2Mass].empty()) {
|
||||
this->fip_[Inplace::Phase::CO2Mass][globalDofIdx] = massGas;
|
||||
this->fip_[Inplace::Phase::CO2Mass][globalDofIdx] = massGas * sg;
|
||||
}
|
||||
|
||||
if (!this->fip_[Inplace::Phase::CO2InGasPhaseInMob].empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user