mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
pass the saltConcentration to the waterPVT
This commit is contained in:
@@ -172,7 +172,8 @@ private:
|
||||
double
|
||||
density(const double press) const
|
||||
{
|
||||
double rho = FluidSystem::waterPvt().inverseFormationVolumeFactor(pvtRegionIdx_, temp_, press);
|
||||
double saltConcentration = 0.0; // TODO allow for non-zero initial salt concentration
|
||||
double rho = FluidSystem::waterPvt().inverseFormationVolumeFactor(pvtRegionIdx_, temp_, press, saltConcentration);
|
||||
rho *= FluidSystem::referenceDensity(FluidSystem::waterPhaseIdx, pvtRegionIdx_);
|
||||
return rho;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user