A numerical simulation of the chemistry of a rainband