mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix model for efficient diffusion coefficient and add reference
This commit is contained in:
parent
59707e0f64
commit
7226209791
@ -274,16 +274,15 @@ protected:
|
||||
if (FluidSystem::waterPhaseIdx == phaseIdx) {
|
||||
continue;
|
||||
}
|
||||
// TODO: let the problem do this (this is a constitutive
|
||||
// relation of which the model should be free of from the
|
||||
// abstraction POV!)
|
||||
|
||||
// Based on Millington, R. J., & Quirk, J. P. (1961).
|
||||
const Evaluation& base =
|
||||
Toolbox::max(0.0001,
|
||||
intQuants.porosity()
|
||||
* intQuants.fluidState().saturation(phaseIdx));
|
||||
tortuosity_[phaseIdx] =
|
||||
1.0 / (intQuants.porosity() * intQuants.porosity())
|
||||
* Toolbox::pow(base, 7.0/3.0);
|
||||
* Toolbox::pow(base, 10.0/3.0);
|
||||
|
||||
for (unsigned compIdx = 0; compIdx < numComponents; ++compIdx) {
|
||||
diffusionCoefficient_[phaseIdx][compIdx] =
|
||||
|
@ -253,13 +253,14 @@ protected:
|
||||
// TODO: let the problem do this (this is a constitutive
|
||||
// relation of which the model should be free of from the
|
||||
// abstraction POV!)
|
||||
// Based on Millington, R. J., & Quirk, J. P. (1961).
|
||||
const Evaluation& base =
|
||||
Toolbox::max(0.0001,
|
||||
intQuants.porosity()
|
||||
* intQuants.fluidState().saturation(phaseIdx));
|
||||
tortuosity_[phaseIdx] =
|
||||
1.0 / (intQuants.porosity() * intQuants.porosity())
|
||||
* Toolbox::pow(base, 7.0/3.0);
|
||||
* Toolbox::pow(base, 10.0/3.0);
|
||||
|
||||
for (unsigned compIdx = 0; compIdx < numComponents; ++compIdx) {
|
||||
diffusionCoefficient_[phaseIdx][compIdx] =
|
||||
|
Loading…
Reference in New Issue
Block a user