Parallel algorithm for the solution of thermogravitational convection equations
This paper presents projection method for the solution of three dimensional unsteady thermogravitational convection equations. An explicit finite-difference scheme is used for approximation Navier - Stokes equations in the natural variables. The Poisson equation for pressure is solved by the discrete Fourier transform method. An explicit finite-difference scheme is also used to solve heat transfer equation in the case of large and medium Prandtl numbers. For small Prandtl number an implicit scheme is used. Program is written for two cases: OpenMP and OpenACC. It is shown that OpenACC technology significantly reduces the computation time. The comparison with the fully implicit coupled method is made.