Process engineering for chemistry