super matrix solver-amg - vinas · what is super matrix solver-amg? 9amg method stands for...

38
VPD-F11002=issue3(L2) Copyright ©2011 VINAS Co.,Ltd.. Super Matrix Solver-AMG Fast & Robust Sparse Matrix Solver Product Introduction April, 2011 URL : http://www.vinas.com E-mail [email protected]

Upload: others

Post on 31-Aug-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Super Matrix Solver-AMGFast & Robust Sparse Matrix Solver

Product Introduction

April, 2011

URL : http://www.vinas.com E-mail :[email protected]

Page 2: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

1VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Super Matrix Solver Library .............................................................................. 2What is Super Matrix Solver (SMS)? ................................................................ 3What is Super Matrix Solver -AMG? ................................................................ 4Benefits of using Super Matrix Solver .............................................................. 5Issues in matrix calculation ............................................................................... 6Special Feature of Super Matrix Solver (SMS) ................................................ 7Performance of Super Matrix Solver-AMG ...................................................... 8Specification of Super Matrix Solver-AMG ..................................................... 13Updated feature of SMS-AMG Version 3 ......................................................... 16Super Matrix Solver -AMG Major Customers in Japan

National Laboratories, Universities ............................................................ 19Industry ....................................................................................................... 20

Performance and Application Examples ........................................................... 21Benefits of Super Matrix Solver ...................................................................... 22Integration of SMS-AMG

Simulation of Turbulent Combustion ........................................................ 23Application of SMS-AMG

Concrete Strength Study ............................................................................ 26Nuclear Power Plant Fuel Rods Fluid Force Vibration Analysis .............. 273D Plastic Mold Flow Analysis ................................................................. 28Fluid Flow Analysis ................................................................................... 30Incompressible Fluid Flow Analysis ......................................................... 31Electromagnetic Analysis .......................................................................... 32Electromagnetic Analysis for Superconductors ......................................... 33Static Stress Analysis ................................................................................. 34

Table of Contents

Page 3: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

2VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Scientific Simulation

Structure Analysis

Electro Magnetic AnalysisCFD

Plastic Molding

BEMFVMFDM

Ax=bSparse Matrix

Dense Matrix

Iterative solver

Standard methodSMS method

SMS-AMG

SMS-BLK

P-ICCG

Sparse Matrix

FEM

Dedicated solver

Direct solver

SMS-MF

Standard method

SMS-BEM

Super Matrix Solver Library

Page 4: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

3VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Jointly developed with National Aerospace Laboratory of JapanAcceleration technology for iterative matrix solution methods. It can be incorporated into various existing solution methods to accelerate and stabilize process of matrix calculation.

Conventional iterative methods

Super Matrix Solver

Super Matrix Solver has an optimization algorithm to accelerate and stabilize solution process of iterative methods such as SOR and AMG.

Algorithm of SMS

What is Super Matrix Solver (SMS)?

Page 5: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

4VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

What is Super Matrix Solver-AMG?

AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based on the latest calculation theories. It is a fast calculation method, but not widely used because of following problems.

Difficult to program. Needs advanced mathematical knowledge. Difficult to find out best combination of parameters due to large number of parameters to set.

Matrix solver based on AMG method and speeded-up and stabilized by Super Matrix Solver technology of VINAS. One module of Super Matrix Solver library.

General AMG method

Super Matrix Solver-AMG

Page 6: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

5VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Benefits of using Super Matrix Solver

Speed-up the calculation process by numerical analysis programs without enhancing computer hardware resourcesObtain converged solution for problems that have never been solved by conventional methods due to divergence and robustness of high-speed calculation methods

Obtain accurate solutions for very large models in a stable way

Minimize manual setting of parameters

Page 7: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

6VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Enhance Calculation Speed Contributes directly to speeding-up

the whole CFD solver process・ Increase convergence rate・ Implement parallel processingImprove robustness and convergence rate・Prevent divergence of calculation・Prevent stagnation of convergence

Issues in matrix calculation

Usability enhancements・Reduce number of parameters to set・Introduce easier way of convergence judgement

Improve accuracy of Numerical AnalysisEssential in large calculations・Eliminate cancellation of significant digits・Reduce accumulation of errors

Faster, larger and cheaper computers

Enhancements in CAD/CAE/CFD software

Wider field of application of CAE/CFD software

Target of CAE/CFD

Larger models

More complex models

Demand for higher accuracy

Transient simulations

Page 8: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

7VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Special Feature of Super Matrix Solver(SMS)

1) Fast calculation

2) High stability and high convergence rate

3) Reduced parameter setting

4) Not liable to error accumulation ■ Keeps accurate solution ■ Suitable to very large calculations

5) Comparatively less iterations needed for large calculation

0

5

10

15

20

25

0 10 20 30 40

(x 10,000)

Iteration

Number of unknowns(proportional to number of elements)

Proportional increase

Super Matrix Solver

Page 9: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

8VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Performance of Super Matrix Solver-AMG

Logarithm of relative residual vs. CPU time for calculation

Advantages of Super Matrix Solver-AMG

Based on AMG method and is made faster and more robustMuch faster than CG methods Problems that have never been solved by other methods can be robustly solvedVery stable convergence during calculation

Super Matrix Solver-AMG and other solver methods

CPU-TIME

log(

|r|/

|b|)

Calculation of 1.1 million unknowns

Super Matrix Solver-AMG

GPBi-CG

SOR

Approx.. 1200 sec.

50 sec

* GPBi-CG is relatively fast and robust among CG methods

Normal AMG

300 sec

Page 10: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

9VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Performance of Super Matrix Solver-AMG

Results of convergence history of simultaneous linear equation by Super Matrix Solver-AMG, normal AMG, normal SOR, and GPBi-CG solvers are compared above. Reduction of common logarithms of relative residuals (ordinate) versus CPU time (abscissa) is plotted. Calculations were stopped when relative residuals reached 1.0 x 10e-4.* GPBi-CG is a solution method known by its speed and stability among CG methods.

Page 11: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

10VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Performance of Super Matrix Solver-AMG

Only 30 seconds of calculation time increase for an increase of 2 million in the number of unknowns

Characteristic: Calculation time does not increase proportionally to problem size increase

約120秒 約3300秒約120秒 約3300秒 約150秒

SMS-AMG

300万元 500万元3 million unknowns

5 million unknowns

approx. 120 sec. approx. 3300 sec. (S) approx. 150 sec.

Page 12: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

11VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Performance of Super Matrix Solver-AMG

Characteristic: Less calculation time increase for larger problemscompared with other solution method

Calculation Time Comparison

0

200

400

600

800

1000

1200

1400

1600

1800

1 2 3 4 5 6

Number of Unknowns

Cal

cula

tion

Tim

e (s

ec.)

μ-MF1 High Speed CG μ-MF1 SMS-AMG

Example of Electromagnetic Analysis by MU TECH Co., Ltd.

Page 13: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

12VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Performance of Super Matrix Solver-AMGStably calculates lower quality mesh

Example of Electromagnetic Analysis by MU TECH Co., Ltd.

Confirmed that iteration count of SMS-AMG does not depend on aspect ratio

Confirmed that iteration count of SMS-AMG does not depend on aspect ratio

As gird condition worsens, so does the calculation difficulty...As gird condition worsens, so does the calculation difficulty...

細かすぎ1:100200000CASE4適当1:50200000CASE3やや粗い1:10200000CASE2粗い1:1200000CASE1メッシュの粗さアスペクト比未知数

細かすぎ1:100200000CASE4適当1:50200000CASE3やや粗い1:10200000CASE2粗い1:1200000CASE1メッシュの粗さアスペクト比未知数Number of

Unknowns Aspect Ratio Gird Condition

coarse

sort of coarse

right coarseness

too fine

有限要素の扁平率と計算時間の関係

0

50

100

150

200

250

0 20 40 60 80 100

扁平率

計算

時間

(秒

μ-MF1 高速CG

μ-MF1 SMS-AMG

High Speed CG

Cal

cula

tion

Tim

e (s

ec.)

Aspect Ratio

200.0200.026132367186CASE3200.6200.625174767235CASE4

196.0196.02469268108CASE2211.7211.7213885473CASE1

SMSCGSMSCGSMSCG

(G)計算精度(回)反復回数(秒)計算時間

200.0200.026132367186CASE3200.6200.625174767235CASE4

196.0196.02469268108CASE2211.7211.7213885473CASE1

SMSCGSMSCGSMSCG

(G)計算精度(回)反復回数(秒)計算時間Calculation Time (sec.) Iteration Count (times) Calculation Precision (G)

Relations betw. Aspect Ratio of Finite Elementand Calculation Time

Page 14: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

13VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Specifications of Super Matrix Solver-AMG (1)

Type of matrix: Sparse matrixSupports calculation of structured and unstructured grid in CFD and other analyses

Supports calculation of asymmetric matrix

Zero diagonal elements: Can not calculate

Number of unknowns: No limitation

Type of variables: (single) and double precision versions

Specifications of Super Matrix Solver-AMG

Specifications may change without prior notice.

Page 15: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

14VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Input parameters (*1) Left side coefficient matrix (A), Right side constant vector (b) , convergence criteria, maximum iterations, ...

Output data Solution vector(X), Relative residual, Number of performed iterations, ...

Error messages Warnings and error messages are returned as return values (calculation information, system information, ...).

Specifications of Super Matrix Solver-AMG (2)

Specifications may change without prior notice.

Specifications of Super Matrix Solver-AMG

Page 16: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

15VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Supported systems Windows, Unix(SGI/IRIX, ...)Linux and parallel versions planned* Consult us for details

Provided as Library (source is not open)

Documents Manual (explains data format, parameters, application development, and so on)

Sample data Sample program using Super Matrix Solver-AMG

Field of application Can be used for solving linear equation system in CFD, structural, electromagnetic and other analyses.

License management Managed by physical address of computerRuns on designated machine only

Specifications may change without prior notice.

Specifications of Super Matrix Solver-AMG (3)

Specifications of Super Matrix Solver-AMG

Page 17: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

16VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Updated feature of SMS-AMG Version 3(1)

Up to 5 sets of setup information can be savedComputational time can be significantly reduced by skipping setup

process (creating coarse grids, etc.) when solving the same or similar* coefficient matrix for different right hand side vectors(* the position of nonzero elements are the same but the values are different)

Multiple sets of setup information can be saved; applications in which multiple coefficient matrices need to be solved are supported

A1

Setup&

Solve

Setup&

Solve

A3

Setup&

Solve

A2 A3 A1’A1CoefficientMatrices:

SMSprocedure:

・・・A2

A

Setup&

Solve

ACoefficientMatrices:

SMSprocedure:

A A A’’’A’’A’ ・・・

Setup

Solve

Setup

Solve

Setup

Solve

Setup

Solve

Setup

Solve

Setup

Solve

Setup

Solve

Setup

Solve

Setup

Solve

Setup

SolveSkip Skip

Skip

Speed-Up

Page 18: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

17VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Updated feature of SMS-AMG Version 3(2)

Speed-Up20~30% Speed-Up compared to Version 2.2 (on Linux 32bit)

0.0

10.0

20.0

30.0

40.0

50.0

60.0

70.0

DA

TA

1

DA

TA

2

DA

TA

3

DA

TA

4

DA

TA

5

DA

TA

6

DA

TA

_S1

DA

TA

_S2

Name of Data

Bars

: Com

puta

tion

al

Tim

e[s

ec]

1.05

1.10

1.15

1.20

1.25

1.30

1.35

Lin

es: S

peed-

Up

version 2.2

version 3.0

Ratio

Speed-Up

Performance of Version 3 (compared to Version 2.2 released on Sep. 2005)

Page 19: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

18VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Updated feature of SMS-AMG Version 3(3)

Improved memory efficiency for symmetric matricesOnly upper-half is stored; memory consumption is reduced by 30~40%

example: memory consumption (of the whole application(*1))

(*1)The sample program attached to the SMS product, which is an application thatjust solves a matrix equation

Improved robustness by introducing choice between CG and RC methods when solving symmetric systems

Some Problems that cannot be solved with Version 2 can be solved with Version 3

41.8%124.9MB214.9MBDATA5 (56979dofs)

31.6%35.2MB51.5MBDATA6 (12288dofs)

43.6%384.9MB682.0MBDATA4 (186843dofs)

Memory reduction rateUpper halfWhole Matrix

Memory saving

Robustness

Page 20: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

19VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

■National Laboratories, Universities

Super Matrix Solver Major Customers in Japan (February 2009)

Central Research Institute of Electric Power Industry CFD

Fukui University CFD

Hokkaido University Structural Strength (Breakage)

Japan Aerospace Exploration Agency CFD

Japan Atomic Energy Institute CFD

Japan Nuclear Cycle Development Institute CFD

Kyusyu Institute of Technology Electromagnetic Analysis

Kyusyu University CFD

National Institute of Materials Science Structural Analysis (Molecular Level)

National Maritime Reseatch Institute CFD

Okayama University CFD

Osaka University Structural Analysis Port and Airport Research Institute CFDSaitama Institute of Technology CFD

Shizuoka University CFD

The Institute of Physical and Chemical Research CFD

The University of Tokyo CFD

Tokyo Institute of Technology CFD

Yokohama National University, etc CFD

Page 21: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

20VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

■Industry

Super Matrix Solver Major Customers in Japan (February 2009)

CANON INC. CFDCRC Solutions Corp. CFDDenso Corporation Plastic Mold Flow AnalysisFuji Research Institute Corp. CFDHitachi, Ltd. CFDKajima Corporation Structural AnalysisKobe Steel, Ltd. Plastic Mold Flow AnalysisMatsushita Electric Industrial Co., Ltd. Electromagnetic AnalysisMazda Motor Corporation Aerodynamics AnalysisNikon Corporation Electromagnetic AnalysisPanasonic Plastic Mold Flow AnalysisPlamedia Corporation Plastic Mold Flow AnalysisRicoh Co., Ltd. Electromagnetic AnalysisShimizu Corporation Groundwater Flow AnalysisSumitomo Metal Industries, Ltd. CFDToray Industries, Inc. Plastic Mold Flow AnalysisToshiba Tec Corporation CFD (Two-phase flow)μ-Tech Inc., etc Electromagnetic Analysis

Page 22: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

21VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Performance and

Application Examples

Performance and

Application Examples

Page 23: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

22VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

100 200 300

5

0 0 20 40 60 80 100

-4

-3

-2

-1

0

1

Benefits of Super Matrix Solver

Faster numerical analysis calculationsFaster numerical analysis calculations

Highly accurate solutions can be obtained for very large scale problems

Highly accurate solutions can be obtained for very large scale problems

Solutions to previously insoluble problems

Solutions to previously insoluble problems

Minimized manual settings of calculation parameters

Minimized manual settings of calculation parameters

Large problems

Higher hardware specs

More difficult problems

Large condition number

rtc=smsamgd(solution, coefficient matrix, right-hand side vector, number of iterations, normalization, convergence criterion, reduction)

Page 24: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

23VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

National Maritime Research Institute Maritime Safety Department

Large Eddy Simulation of Premixed Turbulent Combustion Using the Flamelet

Model Based on the G-equation

Numerical analysis model: LES-Smagorinsky modelNumerical method:

Non-uniform meshes in the Cartesian coordinate systemDiscretization on staggered gridCalculates time-expansively by Fractional Step methodTime integration: Second-order Adams-Bashforth schemeDiscretization of space differentiation term: Second-order central difference(Uses difference scheme Suitable for Non-uniform grid)

Integration of SMS-AMG

Page 25: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

24VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Work by VINAS

%( )1

*2 1 1 u +n

npt t

ρρ+

+ ∂ ∇ = ∇ ∆ ∂

Pressure Poisson equation

1)Investigated the portion regarding matrix calculation of the original program code.

2)Changed the original program in order to check the performance (calculation time by BiCGSTAB) before integrating SMS-AMG, and did the check.

3)Changed the original program in order to integrate SMS-AMG.

4)Specially tuned SMS-AMG up for more efficient calculation.

Calculates without making coefficient matrix A and right hand side vector b.

Makes coefficient matrix A and right hand side vector b, and then calculates passing them to SMS-AMG.

In-line type:BiCGSTAB

Subroutine type:SMS-AMG

Calculates pressure p at each grid point without making A and b.

Makes A and b, and then calculates pressure p of all grid points at once calling SMS-AMG.

Original code

Changed code

National Maritime Research Institute Maritime Safety Department

Integration of SMS-AMGLarge Eddy Simulation of Premixed

Turbulent Combustion Using the FlameletModel Based on the G-equation

Page 26: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

25VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Improvement by integrating SMS-AMG

Time[min.] Improvement by SMS-AMG

BiCGSTAB SMS-AMG Time elimination rate [%] Processing speed ratio

Whole process 426.3 320.0 24.9 1.33

Matrix calculation 144.2 37.1 74.3 3.89

Time comparison of turbulent combustion analysis after expanding enough. (time interval: 5 ms, 1000 iterations) OS: Linux (Pentium III, clock=1.13GHz, memory=1GB)

Example of analysis result

References: 「Large Eddy Simulation of Premixed Turbulent

Combustion Using the Flamelet Model Based on the G-equation」 - Hideyuki OKATheoretical and Applied Mechanics Japan, Vol.53

October 2004

Customer’s voiceMatrix calculation speed was improved about four times

faster than the original program (about twenty times faster than a program using the SOR method) although elimination ratio of whole processing time was small because this analysis contains a special calculation process. This improvement boosted up efficiency of our study. By the elimination of calculation time, we became to be able to increase number of grid and analyze turbulent combustion in more detail.

(a) Instantaneous velocity vector of flow and instantaneous flame position in the combustion chamber.(b) Instantaneous temperature distribution on a central section.(c) Average temperature distribution on a central section.

National Maritime Research Institute Maritime Safety Department

Integration of SMS-AMGLarge Eddy Simulation of Premixed

Turbulent Combustion Using the FlameletModel Based on the G-equation

Page 27: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

26VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

SMS-AMG used in study of concrete breakage strength1. Hokkaido University Structural and Geotechnical Engineering Division2. Field of application: Concrete breakage strength study

crack opening process simulation by meso scale model3. Solution method: Rigid body spring model (RBSM)

4. Size of calculation: Several thousand times of calculations in 250,000 to 400,000 unknowns5. Calculation speed: SMS-AMG on a Windows PC was approx. 10 times faster than an ICCG library on a super-computer in completing same calculations. 6. More info on http://www.hucc.hokudai.ac.jp/~m16120/hybridlab/index.htm

Source: Nagai, et al. NUMERICAL SIMULATION OF FRACTURE PROCESS OF CONCRETE MODEL BY RIGID BODY SPRING METHOD.

Concrete Strength Study

SMS-AMG enabled 10 times faster calculation by a PC than a supercomputer

Model Surface

Analysis Result

Aggregate inside

the model

3D RBSM Analysis 75 x 75x 150mm Concrete

Compression Analysis Result (48,258 elements) loading plate is fixed horizontally

Application of SMS-AMG

Page 28: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

27VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Saitama Institute of Technology

[Field of application]: CFDNuclear power plant fuel rods fluid force vibration analysis

Comment from Hisashi Hishida, Ph. D,Saitama Institute of Technology

[Calculation issues]Trial of some large models took a few months to be solved by conventional iterative methods, but their calculation was significantly speeded-up by SMS-AMG.

Calculations to achieve same accuracy (10-2)were speeded up 50 to 100 times.

114,000 unknowns

SOR

SMS-AMG

(sec)

Nuclear Power Plant Fuel RodsFluid Force Vibration AnalysisApplication of SMS-AMG

Page 29: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

28VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Plamedia Corporations

Table Comparison of CPU time

Model

Direct solver

Iterative solver

SMS AMG-

Eqn. 52357Non0s. 4525296

Eqn. 143386Non0s. 12144782

283.4 sec

81.9 sec

Error (Memory over)

100.8 sec

(Monitor:Pentium IV PC, 2.53GHz, 2Gb)

6 MPa

Fig. Pressure distribution 0

3D Plastic Mold Flow Analysis

3.5 times faster calculations

Previously insoluble problems solved in high speed

Study of heat and flow inside a spiral mandrel die and quantitative analysis of residence time profile by using 3D finite element analysis

Application of SMS-AMG

Page 30: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

29VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

(1/6)

>1/40

Plamedia Corporation 6 times faster than famous Direct method

Previously insoluble problems solved in high speed

[Field of application]Mold flow analysis of handheld phone

Application of SMS-AMG 3D Plastic Mold Flow Analysis

Page 31: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

30VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

0.00

50.00

100.00

150.00

200.00

250.00

300.00

u v w p

98,000 cells

PCG

AMG

SMS-AMG

DIRECT

0.00

1.00

2.00

3.00

4.00

5.00

6.00

7.00

u v w p

98,000 cells

10-6

10-10

CRC Solutions Corporation

5 20

10

2

Inlet

Outlet

Inflow: Constant x-velocity(18.2)Outflow: Gauge pressure = 0Kinematic viscosity: 1.5x10-5

Density: 1.0Boundaries: Cylindrical surface has non-slip, other surfaces have slip condition.

SMS-AMG is integrated into FINAS/CFD code

Calculation time for u,v,w,p

Calc. Time for different convergence level

(Unable to calculate w/ AMG)

Fluid Flow AnalysisApplication of SMS-AMG

Page 32: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

31VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

No. of elements: Approx. 40,000Reynolds number: 1,000Unknowns: 40,000Conv. Criterion: 1E-4Method: MAC method

10 times faster than before

Incompressible Fluid Flow Analysis

0

1

2

3

4

5

6

7

8

9

10

SOR SMS-AMG

SOR

SMS-AMG

SOR SMS-AMGC

alcu

latio

n tim

e (h

r)

Approx. 10 hours

Better convergence performance was observed at the beginning of calculation where instability is often observed. One of SMS-AMG’s advantages is that it can carry out calculation more stably than SOR even with a larger time step.

Comment from user

The Institute of Space and Astronautical Science (ISAS) of Japan

Previously insoluble problems solved in high speed

Approx. 1 hour

Application of SMS-AMG

Page 33: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

32VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Electromagnetic Analysis

PC version of SMS-AMG from VINAS is capable of delivering its high performance in electromagnetic analyses through our performance tests. Speed of calculation is far above what can be expected from conventional solution methods. With appropriate computer hardware, SMS-AMG is expected to be able to handle calculations with DOF exceeding 2 million.

User Statement

MU TECH Co., Ltd. Four times faster in calculation of 1 Million DOF problemIEEJ’s 3D static electromagnetic

model for verification purpose

Iron core and coil model, one-eighth symmetric part

Hardware specifications HP workstation x1100 / Pentium4 2GHz/ RAM 786MB, Hard disk 32GB

Application of SMS-AMG

Page 34: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

33VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Unable to calculateAbout 10,000 sec.convergence: 1.0E-6

BiCG

about 130,000 sec. (about 36 hrs.)

about 7,000 sec. convergence: 1.0E-10

SMS-AMG

Approx. 400K Unknowns

Approx. 26K Unknowns

Calculation Time Comparison-Overall Analysis Calculation Time

Yokohama National University raduate School of EngineeringLaboratory of Dr. Amamiya

Much faster calculation speed compared to conventional matrix solution methodCapable of calculating insoluble grids/analysis conditions

Comment: I think that introduction of SMS-AMG paved the way to analysis of the next-generation super conductor materials.

Field of application:Electromagnetic field analysis for superconductors (Eddy current analysis of conductors with non-linear conductivityGoverning equation: Maxell equationAnalysis method: Τ-Ω methodAnalysis characteristic: Aspect ratio of 2000 for the grid calculation of highly nonlinear problems for yttrium family superconductor materialsURL for laboratory: http://www.rain.dnj.ynu.ac.jp/

Electromagnetic Analysis for SuperconductorsApplication of SMS-AMG

Page 35: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

34VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Static stress

1997 - March 2002 as one of five projects in the “Computational Science & Engineering” field selected by the “Research for the Future (RFTF)”program sponsored by the Japan Society for the Promotion of Science (JSPS).

An advanced general-purpose computational mechanics system for large-scale analysis and design

Since 1st April 2002, we have reformed the ADVENTURE project into the Open Source Software Development Project and have continuously maintained and improved the system while applying it to practical engineering problems. (Quotation from ADVENTURE web-site)

On trial applying SMS-AMG Version 2 to“Adventure Solid,” improvement by applying SMS-AMG was verified.Analysis field: Static elastic analysis

Applied to ADVENTURE PROJECT

Static Stress AnalysisApplication of SMS-AMG

Page 36: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

35VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Applied to ADVENTURE PROJECT

Number of Nodes 76392

Number of Elements 38270

Number of DOFs 229176Number of DOFs (Not restricted) 227580Number of Diagonal

Elements (ND) 227580Number of Non-diagonalElements (NS) 9658308

CG SMS-AMGV2

Pre-processing 0 0.9Non-Matrix calculation 15.62 16.35Matrix calculation 590.81 195.29

Post-processing 0 2.26

About 40,000 elementsAbout 230,000 unknowns

15.62

590.81

0

16.35

195.29

2.26

0

100

200

300

400

500

600

700

(sec.)

CG SMS-AMGV2

Improvement on Adventure Solid with SMS-AMG V2

Post-processing

Matrix calculation

Non-Matrix calculation

Pre-processing

About 3 times faster

Application of SMS-AMG Static Stress Analysis

Page 37: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

36VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

Applied to ADVENTURE PROJECT

Number of Nodes 150283

Number of Elements 60212

Number of DOFs 450867Number of DOFs (Not restricted) 448371Number of Diagonal

Elements (ND) 448371Number of Non-diagonal Elements (NS) 19305126

CG SMS-AMGV2

Pre-processing 0 1.9Non-Matrix calculation 33 33Matrix calculation 1574 400

Post-processing 0 7

About 60,000 elementsAbout 450,000 unknowns

33

1574

0

33

400

7

0

200

400

600

800

1000

1200

1400

1600

1800

(秒)

CG SMS-AMGV2

Improvement on Adventure Solid with SMS-AMG V2

Post-processing

Matrix calculation

Non-Matrix calculation

Pre-processing

About 4 times faster

Application of SMS-AMG Static Stress Analysis

Page 38: Super Matrix Solver-AMG - VINAS · What is Super Matrix Solver-AMG? 9AMG method stands for Algebraic Multi Grid method, which is an iterative method developed during 1980-1990 based

37VPD-F11002=issue3(L2)Copyright ©2011 VINAS Co.,Ltd..

VINAS Co., Ltd. Project Development Dept.

URL : http://www.vinas.com E-mail :[email protected]

For further information on Super Matrix Solver such as

•Benchmark Testing (BMT)

•Evaluation module

•Other inquiries

Please contact: