Research Article
Implementation and Optimization of a CFD Solver Using Overlapped Meshes on Multiple MIC Coprocessors
Listing 1
: Procedure of solving equation (
1) on overlapped mesh system.
(1) | Conduct mesh assembly to obtain interpolation information over the mesh system (MS) | (2) | Read flow configuration file and overlapped mesh data | (3) | Initialization | (4) | repeat | (5) | for each iblock in MS do | (6) | Apply boundary conditions to iblock | (7) | end for | (8) | : exchange interpolated data between overlapped block pair , where CRI: cells receiving interpolation data and CPI: cells providing interpolation data | (9) | and : exchange each one-to-one block data at block interface connecting and | (10) | for each iblock in do | (11) | Calculate , , and fluxes on iblock | (12) | AF time advancement and update solutions on iblock | (13) | end for | (14) | Until convergence | (15) | Output flow data |
|