Vous êtes sur la page 1sur 34

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Calculation Speedup with


High Quality Results in
Crash Simulation with RADIOSS
Marian Bulla

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Agenda

Hybrid-Solver Version RADIOSS 11


Submodell

Multi Domain
Advanced Mass Scaling (AMS)

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Agenda

Hybrid-Solver Version RADIOSS 11


Sub Modell

Multi Domain
Advanced Mass Scaling (AMS)

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Hybrid Version
Hybrid Version, a convergence of parallel methods
Value proposition
Combine the benefit of both RADIOSS parallel versions inside a unique code with
enhanced performance

Customer Benefits
Increase scalability & performance by having 2 parallelization levels

Domain decomposition + MPI processes


Multi-threaded MPI processes under Open MP

Flexibility : adapt to customers needs & hardware resources and their evolution
Cost reduction : only one executable to manage (maintenance)
Quality : full convergence of SMP & SPMD (numerical results)

Implementation Challenges
Keep ease of use of SMP
Keep ease of debugging of SPMD (deterministic behavior)
Do not make more complex the code maintenance

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Hybrid Version

Node

M1

SMP model

Socket
1

Socket
2

C1 C2

C3 C4

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

Constraints
Needs shared memory
Depends on NUMA architecture choice
Limited scalability
Advantages
Ease of use
Performance independent from the model
size

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Hybrid Version

Network Interconnect
Node1

Node2

M1

SPMD model

NodeN

M2

Mn

Socket
1

Socket
2

Socket
1

Socket
2

C1 C2

C3 C4

C1 C2

C3 C4

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

Socket
1

Socket
2

C1 C2

C3 C4

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

..
.

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Hybrid Version

Network Interconnect
Node1

Node2

M1

Hybrid model

NodeN

M2

Mn

Socket
1

Socket
2

Socket
1

Socket
2

C1 C2

C3 C4

C1 C2

C3 C4

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

T
H
R
E
A
D

..
.

Socket
1

Socket
2

C1 C2

C3 C4

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Hybrid Version
Hybrid MPP Performance
- Neon 1M (1 million elements)
- Problem time: 8 ms
- CPUs: Nehalem 2.80 GHz
- Cluster: 4 cores x 2 CPU x 64 nodes
3500

3000

3311
2610
2522
2529

Elapsed (s)

2500
2000

1772

1 thread

1314
1301 1289

1500

1000

2 threads
697
675 668

906

4 threads
358 356
361

500

8 threads

473
227 203

205

256

246

135
152
126

287
127
99 95

0
8

16

32

64

128

256

512

#core

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Agenda

Hybrid-Solver Version RADIOSS 11


Submodeling

Multi Domain
Advanced Mass Scaling (AMS)

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Submodeling
Method

The target of this approach is to study one area of the model with taking into account the
deformation of the full model through a section force.
In the defined section, displacement will be imposed in order to represent the "sub" part
of the model.

Full model

Cut section

Submodel

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Submodeling
Method
Sheme

HyperCrash

Full model

Section force

From the full model, a section force is created


on the boundary of the selected area.

Full model

Sub-model

RADIOSS
This section force, with specific parameters, is
added in the full model.
The sub-model is created with all entities which
are inside the boundary and the section force.

SC files
A files
L files
T files

RADIOSS
A files
L files
T files

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Submodeling
Method
Sheme

HyperCrash

Full model

Section force

The full model is computed in order to get the


information on the section force.

Full model

Sub-model

RADIOSS
SC files

The information are stored in <rootname>SC01


output file.

A files
L files
T files

RADIOSS
A files
L files
T files

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Submodeling
Method
Sheme

HyperCrash

Full model

Section force

The sub-model can be computed using the


information of the <rootname>SC01 file.

Full model

In the time history files (<rootname> T01 file),


forces balances are computed with the force
imported force the <rootname>SC01 file and
the force computed in the sub-model.
The force differences are usually very small. In
the other case, it means the section force is not
correctly defined and do not take into account
all crash evens.

Sub-model

RADIOSS
SC files
A files
L files
T files

RADIOSS
A files
L files
T files

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Submodeling
Example
The NEON full car crash model is cut on the middle of the front door in order to study
the front part of the car.

This task is done using HyperCrash. The user defined the area he ants to keep and
HyperCrash defines automatically the section force, proposes to save the full model
with the section and the sub-model with the same section and the right parameters.

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Submodeling
Example
Full model section
The section defined for the full model contains all the entities cut defined by group of nodes, bricks,
shells, trusses, beams, springs and Interface ID.

The time frequency (around10 times the minimum time step of model) and the data to store in the
<rootname>SC01 file is also set in the section.

Isave = 1 : save only displacement

Isave = 2 : save displacement and force

#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
/SECT/1
SECTION_SUBMODELING
#
N1
N2
N3
GrNod
Isave
time-step
filter
39927
113302
113306
2978
2
1E-4
0
# File name
#

GrBrick
GrShell
GrTruss
GrBeam
GrSprg
GrSh3N
N-inter
Iframe
0
2979
0
0
0
2980
0
12
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Submodeling
Example
Submodel section
The same section is defined for the cut model with the name of the <rootname>SC01 file and the
data to read :

Isave = 100 : read only displacement

Isave = 101 : read displacement and force

#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
/SECT/1
SECTION_SUBMODELING
#
N1
N2
N3
GrNod
Isave
time-step
filter
39927
113302
113306
2978
101
1E-4
0
# File name
NEON_000
# GrBrick
GrShell
GrTruss
GrBeam
GrSprg
GrSh3N
N-inter
Iframe
0
2979
0
0
0
2980
0
12
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Submodeling
Example
Results
The sub-model contains only less than 50% of the
elements of the full model and the CPU time is also
divided by 2.

Node
Springs
Shells
CPU time
Nb cycles

Full model
294411
4074
269245
9.02E+05
301500

Sub-model
127049
1664
114500
3.97E+05
301500

diff.
-57%
-59%
-57%
-56%
0%

The force on the frontal rigid wall, the displacement


and the velocity of the nodes are almost the same
between the both models.

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Agenda

Hybrid-Solver Version RADIOSS 11


Submodeling

Multi Domain
Advanced Mass Scaling (AMS)

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Multi Domain
Abstract
The basic idea is to replace the global model by physically equivalent sub
domains, part separation will be based on the different time steps => significant
reduction of the CPU time.
The force and momentum transfers between them being calculated by a separate
program assuring stability constraints.

Validation examples:
Multi-Domain Simulation Approach for Radioss Efficient
Coupling of Refined and Standard Meshes in Full Vehicle Crash
Simulations EHTC 2009
Aleksandar Bach1, Marian Bulla2, Bertrand Maurel2

Research & Advanced Engineering


1) Ford Research & Advanced Engineering Europe

2) Altair

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Multi Domain

deformed

force

Motivation: Standard vs. Refined Mesh

displacement

Research & Advanced Engineering

Refined mesh = improved resolution of deflection behaviour

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Multi Domain

MULTI-DOMAIN
dt1, dt2

MONO-DOMAIN
dt2 (dt2 ~ dt1/2.8)
Reduction of CPU time by factor ~4

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Multi Domain
Multidomains in Radioss version 10 :
P1_0000.rad

P2_0000.rad

P3_0000.rad

Radioss
starter 1

Radioss
starter 2

Radioss
starter 3

P1_0000.rst

P2_0000.rst

P3_0000.rst

input.dat

Rad2rad

Radioss
engine 1 dt1

Radioss
engine 2 dt2

Radioss
engine 3 dt3

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Multi Domain
Multidomains in Radioss version 11 :
FULLMODEL_0000.rad

Radioss
starter

FULL_0000.rst

DOM1_0000.rst

DOM2_0000.rst

input.dat

Rad2rad

Radioss
engine 1 dt1

Radioss
engine 2 dt2

Radioss
engine 3 dt3

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Multi Domain
Multidomains in Radioss version 11 : Second Example

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Multi Domain
Multidomains in Radioss version 11 : Second Example

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Inhaltsangabe

Hybrid-Solver Version RADIOSS 11


Submodeling

MultiDomain
Advanced Mass Scaling (AMS)

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Advanced Mass Scaling (AMS)

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Advanced Mass Scaling (AMS)

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Advanced Mass Scaling (AMS)

Ab RADIOSS Version 11:


Advanced Mass Scaling; AMS

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Advanced Mass Scaling (AMS)

dt mit CST = 1e-4


Dt mit AMS = ~ 2e-4

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Advanced Mass Scaling (AMS)


Advanced mass scaling - full car crash

Altair public Neon 1 million elements


Model description: Frontal impact on Rigid wall
Initial Velocity: 12300 mm/s
Total mass: 1.219 Ton
Node number: 1 097 865
4N Shell : 1 054 861
3N shell : 176
Solid : 2 860
Spring : 4 180
Beam : 63
Problem Time: 80ms

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Advanced Mass Scaling (AMS)


Advanced mass scaling - full car crash
RADIOSS 11 beta Hybrid MPP (2010)

Altair NEON 1Million elements


(80ms)

CST Double precision

AMS Single precision

64 SPMD x 8 SMP
512 cores

128 SPMD x 8 SMP


1024 cores

Objective

0,5 s

10 s

Mean time step

0,5 s

7 s

Nb of cycles

162343

14514

17.5 minutes (1050 s)

5 Minutes (294 s)

Elasped Time
Speed-up
Amount of time spent in AMS
specific treatments
Intel Xeon X5560 @ 2.80 GHz

About 20 iterations of conjugate gradient at each cycle (Tolerance = 10-3)

3.5
68%

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Agenda

Hybrid-Solver Version RADIOSS 11


Submodeling

MultiDomain
Advanced Mass Scaling (AMS)

Copyright 2009 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Thank you for your attention !

Open for questions


Marian Bulla
Phone:

+49 (0)221-1 577 778-583

E-Mail:

bulla@altair.de

Vous aimerez peut-être aussi