Faculdade de Engenharia Civil - UNICAMP - Brasil UNICAMP
LabMeC Laboratório de Mecânica Computacional
Google Grupos
Participe das discussões do LabMeC
 
Mostrando itens por keyword: oopar
This paper describes the parallelization of a finite volume code using the object oriented programming environment OOPar. The original finite volume code is a complex CFD code which includes a large number of time solvers and iterative solvers. Rather than parallizing each solver separately, a strategy was adopted where only core operations areparallelized on a sub-structured mesh. This approach has the advantage that in a single step all solvers are parallelized, thus minimizing the impact on the existing code structure. OOPar is an object oriented environment which introduces a new paradigm in parallel computing, dividing the execution of the program in distributed tasks which act on distributed objects.

OOPar allowed to define the execution of flux operators as a set of tasks which act on distributed data. Having the program structured using tasks and data allowed to gradually debug the parallel code: first all tasks were executed on the current processor, allowing to debug the operation of the tasks without transmitting the data from one processor to another; second the tasks were distributed over the pool of available processors, allowing to verify the consistency of transmission of data.

Both serial code and parallel implementation coexist. This allowed to verify the results of the parallel code with the results of the serial code at each step of the debugging process. At this initial step of parallelization of the finite volume code, validation was emphasized. The parallel code developed produces identical results as the serial code. Any deviation is detected instantly.
Website por Q11 Agência
© LABMEC - Laboratório de Mecânica Computacional - UNICAMP - Brasil
Departamento de Estruturas da FEC - Faculdade de Engenharia Civil, Arquitetura e Urbanismo.
 
Avenida Albert Einstein, 951 - Cidade Universitária Zeferino Vaz - CEP 13083-970
Campinas - SP - Brasil - Tel/fax: +55 19 3521-2396 - E-mail: clique aqui