ogs5 icon indicating copy to clipboard operation
ogs5 copied to clipboard

bug in CFluidProperties::Viscosity()

Open norihiro-w opened this issue 9 years ago • 0 comments

CFluidProperties::Viscosity() may not work correctly in some viscosity models which depends on some variables. Unlike the density function, it is implemented in a way that all the viscosity models access primary_variable with fixed index. However its content (or the order of actual variables) can differ depending on whether variables is set externally or not. In addition, some viscosity models are implemented to work only with MULTI_COMPONENTALFLOW, which is indeed unnecessary constrain.

norihiro-w avatar Mar 04 '16 06:03 norihiro-w