Modeling and simulation of diffusion-convection-reaction in heterogeneous nanochannels using OpenFOAM