Dear Olav,
Thanks for your reply. Would you please take a look at the attached code. Here is a brief description about the code:
1. Reservoir is saturated with water and CH4.
2. 10 days of H2 injection.
3. 10 days of Shut-in period (by defining a well with zero rate - is it correct? is there any other way to close the well?)
4. 10 days (day 21 to day 30) of back production by a rate condition. The rate is set to 0.1 of the injection rate.
I think the wellSol.qGs is the summation of wellSol.H2 and wellSol.CH4. Also, wellSol.qWs equals to wellSol.Water. In this case if water density is assumed to be 1000kg/m^3, then wellSol.Water should be 0.001 of WellSol.qWs.
Furthermore, wellSol.val for the production period is the summation of component fluxes! I think it happens when we set the rate condition for a producer well.
Looking forward to hearing from you.
Best,
Ahmad
.