Hi everyone,
I am trying to include diffusion between two gas species in the Compositional module when using the GenericNaturalVariableModel.
For this, following the implementation of diffusion in the example "diffusion.m" described in Chapter 10 of the book "Advanced MRST...", I have included these lines:
Sg_rhoG_poro = s.faceUpstr(upcg,sG.*model.G.rock.poro);
eqs{i} = eqs{i} - s.Div(Di_aux(i)./tau_aux.*Sg_rhoG_poro.*s.Grad(yM{i}.*rhoG));
after line 352 of the file "equationsNaturalVariables.m", with Di_aux = [1e-5, 1e-5]. However, I cannot see any effect due to diffusion. Any idea of where I am going wrong?
Thanks in advance for any hint.
Best,
Alejandro
aken the example from the geothermal module "diffusion.m", explained in Chapter 10 of the book "Advanced MRST...".