AVOCADO: A numerical code to calculate gas pressure distribution