#2627 Export CF : kh is reported as zero

This commit is contained in:
Magne Sjaastad
2018-03-20 10:48:06 +01:00
parent cb6dbb1bee
commit 39c8834181
3 changed files with 14 additions and 0 deletions

View File

@@ -611,6 +611,16 @@ double RimFractureTemplate::dFactor() const
//--------------------------------------------------------------------------------------------------
double RimFractureTemplate::kh() const
{
// kh = permeability * h
// conductivity = permeability * h
auto values = widthAndConductivityAtWellPathIntersection();
if (values.m_conductivity != HUGE_VAL)
{
// If conductivity is found in stim plan file, use this directly
return values.m_conductivity;
}
return effectivePermeability() * fractureWidth();
}