Add support for water induced compaction using

ROCKCOMP, ROCK2D, ROCK2DTR, ROCKWNOD and OVERBURD
This commit is contained in:
Tor Harald Sandve
2019-03-12 15:51:41 +01:00
parent 71cd83bb2b
commit 890d34a9e1
8 changed files with 493 additions and 67 deletions

View File

@@ -160,7 +160,7 @@ public:
const auto& r = currentResidual[dofIdx];
Scalar pvValue =
this->simulator_.problem().porosity(dofIdx)
this->simulator_.problem().referencePorosity(dofIdx, /*timeIdx=*/0)
* this->model().dofTotalVolume(dofIdx);
sumPv += pvValue;
bool cnvViolated = false;