Hi everyone,
First of all, I am very new to MRST and any guidance would be highly appreciated.
I’m trying to get the mass balance equation terms (accumulation, flux, and source/sink) in MRST simulations for a CO2 injection problem.
Are there specific keywords, variables, or internal fields in MRST that correspond to these terms?
Kind regards,
Hassan
co2lab module? CO2VEBlackOilModel then?getModelEquations (found in
CO2VEBlackOilTypeModel.m). model.FlowDiscretization.componentConservationEquations computes the bare accumulation terms (per cell) and fluxes (per face). Subsequently, sources and sinks are added inside the function, as well as special treatments
for dissolution and hysteresis. model.FlowDiscretization.componentConservationEquations computes the bare accumulation terms (per cell) and fluxes (per face). As you can see attached, I only added three lines inside this function in order to be able to extract those terms and see them in the workspace. But I am not sure if this is true since the size of the term flus shown as FLUX in the workspace is 2*1 cell and each cell has val 1540*1 double and jac 1*6 cell. But the size of flux in state.flux is 1660*2 double for each timestep in the simulation.