MATLAB scripts for solving partial differential equations of tracer transport and history matching of tracers' breakthrough curves
Description
SolvePDE.m solves the mutti-tracer transport in subsurface formations, involving convection, diffusion and first-order reaction. Multiple operation steps are considered including two steps of injection, well shut-in, and production. After solving equations for each stage, the solution is used as the initial condition of the next stage. We use this function to generate synthetic breakthrough curves for testing effects of formation porosity/thickness and tracer's partition coefficients on interpreting single-well partitioning tracer test data.
History_matching.m performs iterative, constraining multi-variate optimization to curve fit the synthetic breakthrough curves, yielding estimation of residual saturation, longitudinal dispersion coefficient and hydrolysis reaction constant.
target_funciton.m defines the difference between simulated and synthetic breakthrough curves, and the objective is to minimize the value of this function.
The optimization algorithm is based on the function minConf that is developed by Mark Schmidt and the manual for the code can be found at https://www.cs.ubc.ca/~schmidtm/Software/minConf.html.
Files
Files
(24.6 kB)
Name | Size | Download all |
---|---|---|
md5:071599af4a6f307555029acb1e0e5cc6
|
850 Bytes | Download |
md5:9d15002d4e8715bfa531798d5bb60954
|
1.0 kB | Download |
md5:b91357f8146f8d13bced2c6aa1724e42
|
3.1 kB | Download |
md5:40b89fa0062166bda2abd98b1c7b89f1
|
109 Bytes | Download |
md5:53403807027eb04b69b01d78d7ce1f44
|
933 Bytes | Download |
md5:f709ad3ea1d34060c5290e53f5d168b0
|
619 Bytes | Download |
md5:e71d0c85ef03777e1bbd57f6b8fb3209
|
9.1 kB | Download |
md5:15d534b996c1608ee41e3b3b92b1dee8
|
734 Bytes | Download |
md5:3f0fabdc23bf4ccd92d941feb8a04413
|
4.2 kB | Download |
md5:e22f2143fabc6c16a0b8a77166d44961
|
2.5 kB | Download |
md5:a2454e8cc948453f9ae43632263c7bf7
|
810 Bytes | Download |
md5:1d17ac6ff2addf17cf2a5c565529090a
|
615 Bytes | Download |
Additional details
References
- Schmidt, M., Berg, E., Friedlander, M., & Murphy, K. (2009, April). Optimizing costly functions with simple constraints: A limited-memory projected quasi-newton algorithm. In Artificial Intelligence and Statistics (pp. 456-463).