Modelling solar atmospheric gravity oscillation modes