Text this: Optimization loop based on adjoint sensitivity analysis for flows through porous media with adsorption.