Error in flux calculation in Dumux 2.12 compositional stokes model
What happened / Problem description: Fluxes of transported components are not calculated correctly if there are more than 2 components in the fluid system and useMoles == true
What you expected to happen: Correct calculation
How to reproduce it (as minimally and precisely as possible): Run compositional stokes test with more than 2 components
Anything else we need to know?: In freeflow/stokesnc/localresidual.hh, lines 165-181, useMoles== true:
After line 177 tmp is not reset to fluxVars.normalVelocity(). Therefore, for all components after the first transported component the flux calculations are wrong.
- DuMux version: 2.12