The Computer Modeling Group's software is a multi-purpose packages for reservoir simulation to evaluate the fluid flow through the porous media. it is called as CMG and it is widely used from many university and oil companies.
For oil recovery optimization the CMG can be coupled with any computer codes such as Fortran, C, and also R.