31
A massively parallel solid mechanics solver in ALYA A massively parallel solid mechanics solver in ALYA E. Casoni, G. Houzeaux, M. Vázquez and X. Sáez JOCS - Càlcul daltes prestacions en engineria Barcelona, November 21th, 2013

A massively parallel solid mechanics solver in ALYA A massively

  • Upload
    buithuy

  • View
    247

  • Download
    1

Embed Size (px)

Citation preview

Page 1: A massively parallel solid mechanics solver in ALYA A massively

A massively parallel solid mechanics solver in ALYA

A massively parallel solid mechanics solver in ALYA

E. Casoni, G. Houzeaux, M. Vázquez and X. Sáez

JOCS - Càlcul d’altes prestacions en engineria

Barcelona, November 21th, 2013

Page 2: A massively parallel solid mechanics solver in ALYA A massively

CASE Department

Page 3: A massively parallel solid mechanics solver in ALYA A massively

CASE Department - Objectives

Computer Applications in Scienceand Engineering (CASE)Department

Interdisciplinary research unit of theBSC-CNS

Our mission:

To develop computational tools to simulate highly complex problemsseamlessly adapted to run onto high-end parallel supercomputers

Page 4: A massively parallel solid mechanics solver in ALYA A massively

Alya system - Large Scale Computational Mechanics

Page 5: A massively parallel solid mechanics solver in ALYA A massively

Alya is one of the two CFD codes of the PRACE benchmark suite.

Supercomputer Physical model CPUʼs

Lindgren (Sweden) NSI 12288

Huygens (The Netherlands) NSI 2128

Jugene BG (Germany) NSI, FSI 16384

Fermi BG (Italy) NSI + particles + species transp 16384

Curie Bullx (France) NSI, thermal flow 22528

Marenostrum (Spain) NSI , thermal flow, compressible 5000

Alya in PRACE

Page 6: A massively parallel solid mechanics solver in ALYA A massively

Impact for company Impact for BSC

- Simulation of large and complex tests: experimental tests unavailable!

- Demonstration of value of HPC to real world problems.

- Reduction of development cycle and cost. - Sensitivity analysis: more accurate results.

- Support for future product design and development. - Evolutions of simulation depending on the

industry requirements: need feedback to improve!- Analyze hypothetical scenarios.

HPC in Industry

Page 7: A massively parallel solid mechanics solver in ALYA A massively

Alya-SOLIDZ module

Page 8: A massively parallel solid mechanics solver in ALYA A massively

- Alya was initially designed for CFD: large meshes and expensive computations.

- The objective in Alya design is twofold:- To run with the highest efficiency standards in large scale supercomputing facilities.- To solve multi-physics problems in a coupled way.

Why Alya-SOLIDZ?

ITER vacuum vessel, property of F4E

Page 9: A massively parallel solid mechanics solver in ALYA A massively

- New challenges in solid mechanics: large structures, small details thatrequire fine meshes, ...

- Well-known robust commercial codes.. but need to be adapted formassively parallel architectures.

- No OpenSource codes.

- Need to solve more involved problems: coupling FSI, electro-mechanical,termo-mechanical, ...

The Alya-SOLIDZ module

ITER vacuum vessel, property of F4E

Page 10: A massively parallel solid mechanics solver in ALYA A massively

Main Alya

Solidz

Turnon DoIter Output

Initialize problem Set time step

METIS

Parallel service

Solver: Au = b

ImplicitExplicit

Constitutive model

Temper Nastin

SOLIDZ module

Page 11: A massively parallel solid mechanics solver in ALYA A massively

- Total Lagrangian formulation with FEM numerical method.

- Large deformations.

- Dynamic and static solution.

- Implicit (BCGStab, GMRES, Deflated CG) and Explicit schemes.

- Built-in material models (linear isotropic, neo-Hookean, Holzapfel-Ogden, inclusion of fibers, ...)

- Anisotropic materials (including orthotropic models).

- Plug-in interface to ABAQUS user-built subroutines.

- Overset meshes.

- Multiplier in order to refine the mesh.

Main features

Page 12: A massively parallel solid mechanics solver in ALYA A massively

Alya-SOLIDZ module

Fracture simulation

Page 13: A massively parallel solid mechanics solver in ALYA A massively

- Extended finite Element method (XFEM).

- Modeling the propagation of discontinuities (cracks) such that the path is independent of the mesh.

- Easily adapted to the code: does not modify the FEM routines.

- Open door to contact problems, fatigue...

Simulation of fracture process

Page 14: A massively parallel solid mechanics solver in ALYA A massively

Simulation of fracture process

- Implementation of fracture models for large scale simulations in composite laminate, focusing on the scalability of algorithms.

- Fracture simulation at the intra-laminar (XFEM) and inter-laminar (CZM) level.

- Validate models implementation against experiments.

-XFEM and CZM have been integrated in Alya with the aim of performing simulations of fracture in fiber laminates with different sequence.

Work done in collaboration with IMDEA materials and Oxford University

Page 15: A massively parallel solid mechanics solver in ALYA A massively

Alya-SOLIDZ module

Hybrid parallelization

Page 16: A massively parallel solid mechanics solver in ALYA A massively

- Multicore Processor is a processing system composed of two or more independentcores.

- Multicores run at lower frequencies, are more power efficient and get betterperformances than single cores, but their programming is difficult.

Recently, the most important trend in computer architecture is adding multiple cores inside a socket.

Parallelization: hybrid OpenMP / MPI

Hybrid parallel programming: mixing some parallel programming paradigms in order to exploit different levels of parallelism.

Page 17: A massively parallel solid mechanics solver in ALYA A massively

- Why? To exploit the task-level and the thread-level parallelism of multicore architecture.

- How? Assign a MPI-task to each node and an OpenMP thread per core.

- What do we win? Reduce the communication cost inside the node.

TaskShared memory

Parallelization: hybrid OpenMP / MPI

Page 18: A massively parallel solid mechanics solver in ALYA A massively

Real Industry case

Visualization team of CASE: Fernando Cucchietti and Guillermo Marín

Shear stress of a milling cutter punch (10M elements and 3000 cpu’s)

Page 19: A massively parallel solid mechanics solver in ALYA A massively

- Initial mesh of 500000 elements (multiplier)

- 3.9 Milion elements solved on 1000 cpu’s

- Hybrid mesh

- Run on Marenostrum III (48896 Inter Sandy Bridge processors in 3056 nodes)

Real Industry case: fusion reactor with magnetic loads

ITER vacuum vessel, property of F4E

Page 20: A massively parallel solid mechanics solver in ALYA A massively

Alya-SOLIDZ module

Coupled problems

Page 21: A massively parallel solid mechanics solver in ALYA A massively

- Avoid MPI barriers in order to reduce total time. - Improve the baseline speedup of 50%.- Reduce the communication between zones.

FSI coupling

Page 22: A massively parallel solid mechanics solver in ALYA A massively

FSI coupling: parallel strategy

force

The coupling code

- Alya architecture is modular: kernel, modules, and services. - Different solvers can be used on each module.- Coupling between modules by imposing continuity of variables.

Zonal strategy

- Load balancing between processors. - All the processors are working. - Define local communicators between zones for assembly and a global one for convergence check.

Page 23: A massively parallel solid mechanics solver in ALYA A massively

FSI coupling: scalability of the modules

Page 24: A massively parallel solid mechanics solver in ALYA A massively

FSI coupling: example

Pressure pulse in a compliant vessel

Page 25: A massively parallel solid mechanics solver in ALYA A massively

FSI coupling: example

Pressure wave propagation with the fluid deformed configuration.

Velocity of the fluid

Page 26: A massively parallel solid mechanics solver in ALYA A massively

FSI coupling: parallel strategy

Page 27: A massively parallel solid mechanics solver in ALYA A massively

Electro-mechanical model of the heart using medical images and mathematical models for the electric and mechanical coupling.

Cardiac- fluid-electro-mechanical coupling

Page 28: A massively parallel solid mechanics solver in ALYA A massively

Cardiac- fluid-electro-mechanical coupling

Page 29: A massively parallel solid mechanics solver in ALYA A massively

Cardiac- fluid-electro-mechanical coupling

Page 30: A massively parallel solid mechanics solver in ALYA A massively

- Using HPC systems will make numerical simulation closer to commercial computing and real-life simulations.

- Alya-Solidz module to solve large problems for nonlinear finite elements for continua and structures.

- New improvements to fit industry requirements: simulation of fracture process, coupling multi-physics, ...

- Hybrid version will take profit of the massively multicore architectures.

Concluding remarks

Page 31: A massively parallel solid mechanics solver in ALYA A massively

Thank you for your attention!