JMAG Powered by GPU: A Novel Solution for...

22
Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 0 × JMAG Powered by GPU: A Novel Solution for Electromechanical Design March 2013 David Farnia JSOL Corporation [email protected]

Transcript of JMAG Powered by GPU: A Novel Solution for...

Page 1: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 0

×

JMAG Powered by GPU:

A Novel Solution for Electromechanical

Design

March 2013

David Farnia JSOL Corporation

[email protected]

Page 2: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 1

× Contents

What is JMAG?

Electromagnetic Solver vs Structural Solver

Customer Example

Multiple GPUs vs CPUs

Future JMAG Development

Page 3: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 2

× What is JMAG?

JMAG is…

Finite Element Analysis (FEA) software for

electromechanical design.

Page 4: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 3

× About JMAG and JMAG-RT

JMAG Designer is the nucleus around which all other JMAG

tools function

JMAG RT can generate high fidelity 1D models for system

simulations based on JMAG Designer analyzes

This combination of power and speed allows customers to

analyze a wide range of electromagnetic phenomena

Analysis Functions

Magnetic field analysis

Electric field analysis

Structural analysis

Thermal analysis

and coupled analysis

Page 5: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 4

×

Page 6: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 5

× JMAG Group

Oceania

Impakt-Pro Ltd.

Vietnam

New System Vietnam Co., Ltd.

Taiwan

FLOTREND CORPORATION

Korea

EMDYNE Inc

North America

Powersys Solutions

Europe

POWERSYS

India

ProSIM R&D Center Pvt. Ltd.

Singapore/Malaysia

PD Solutions Thailand

JSIM Co.,Ltd

China

IDAJ

Page 7: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 6

×

6

Technical Partners

CAD/CAE

Dassault Systems (CATIA, Abaqus,

SolidWorks)

PTC (Pro/E)

LMS International (Virtual.Lab)

Altair Engineering (AcuSolve)

ESTECO (modeFRONTIER)

Noesis (OPTIMUS)

SCAI Fraunhofer (MpCCI)

SPEED Lab. (SPEED)

MILS/SILS

MathWorks (MATLAB/Simulink)

Gamma Technologies (GT-Suite)

Synopsys (Saber)

Powersim (PSIM)

MentorGraphics (SystemVision)

HILS

dSPACE

National Instruments (LabVIEW)

OPAL-RT

Fujitsu

Toyota Technical Development Co.

DSP Technology

University and Material

Company

Material Manufacturers Providing

Material Data (~14)

University Partnership (~15)

University of Wisconsin-

Madison

Technical University of

Darmstadt

Technical University of Graz

University of Sheffield

Page 8: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 7

×

Areas of Use

Vehicle

Home Appliances

Factory Automation

Heavy Industry

Digital Equipment

Electric Power Facilities

Page 9: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 8

×

8

Example Models

8

Motors/Generators

Actuators

Transformers

Induction heating

Sensors

EM Shields

etc.

Page 10: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 9

×

Demand for Precise High Speed Analysis

History of EM analysis

Mainframe

Workstation

PC

HPC

Large Machines

EV/HEV, EPS

Air-conditioner Factory automation

Wind generator

Page 11: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 10

×

More Realistic Analyses

IPM Motor Accounting for Lamination Losses High revolution speed induces higher Joule Losses

Each lamination sheet needs to be modeled

The mesh must capture the skin depth to accurately reflect the effects

of eddy currents

Traction motor

Steel

Air

Page 12: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 11

×

More Realistic Analyses

High Frequency Transformer Accounting for Winding

Losses Skin and proximity effects increase the losses

Twisted strand wires must be modeled

It is necessary to use a skin depth mesh to accurately capture the

eddy currents

As accuracy increases,

so does the amount of data that must be modeled…

Page 13: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 12

×

Electromagnetic Solver vs Structural Solver

EM simulation presents unique challenges:

The solver is based on an edge element calculation

A typical EM model must be coupled to a circuit which

governs how the model is driven

Large differences (~1:10,000) in material properties such as

permeability and element sizes are present in these models

Also possible to have non-linear materials with severe

convergence tolerances.

EM solver vs Structural solver

Page 14: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 13

×

Brief History of Solvers

Edge Element with ICCG method (1993)

Convert from nodal element with direct solver to edge element

with ICCG method

ICCG becomes the standard method for EM solvers

A-Phi Method (1997)

Improved convergence by adding the electric scalar potential

(Phi) as unknown quantity

Distributed Calculations (2000)

SMP(2007)

DMP(2009)

Time Periodic Explicit Error Correction method (2011)

Lamination Loss (2012)

GPU (2012)

Page 15: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 14

×

High-Speed JMAG Solver

JMAG replicates the accuracy of 3D

lamination losses with the speed of a

2D analysis.

SPM motor

One sixth to

steady state

Time history of torque

IPM motor Time for simulation

Time history of stator

losses

Time periodic explicit error

correction (TP-EEC) method reaches

steady state more quickly with

transient characteristics arising

from inductance.

Page 16: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 15

×

Parallel Simulation for Large Scale Models

Magnetic flux density

IPM motor IEEJ IPM MOtor Magnetic head

Speedup Speedup Speedup

Simulation through parallel calculation is effective in speeding up large scale electromagnetic analyses.

Eddy

current

Page 17: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 16

×

JMAG also supports the use of network calculation.

A single job can be calculated using networked

computers which are remotely controlled by a

single PC

Distributed Processing

Page 18: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 17

×

GPU vs CPUs

High Revolution Speed Electric Motor Analysis

株式会社島津製作所 光岡 大輔氏「高速モータの電磁界解析事例紹介(JMAG-GPUソルバを用いた事例)」

JMAGユーザ会2012 発表資料より引用

FEA Model

Elements : 2,120,732

Nodes : 507,958

PC Spec.

OS : Windows7 x64 RAM : 24GByte CPU : Intel(R) Xeon(R) [email protected] GPU : Tesla C2075

Page 19: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 18

×

Tesla GPU vs Kepler GPU

Tesla K20 is twice as fast as C2075

株式会社島津製作所 光岡 大輔氏「高速モータの電磁界解析事例紹介(JMAG-GPUソルバを用いた事例)」

JMAGユーザ会2012 発表資料より引用

High Revolution Speed

Electric Motor Analysis

Page 20: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 19

×

Multiple GPUs vs CPUs

4 GPUs doubles the speed of 1 GPU

PC spec.

CPU: Intel(R) Xeon(R) [email protected]

GPU: Tesla C2075, Tesla K20 Nodes: 467,393

Elements: 808,864

Hybrid Stepping Motor Analysis

Page 21: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 20

×

Future Development

JMAG Solver speed will increase!

2013 2014 2015 2016

1

100

10

3

Speed-up

Many cores

Massively parallel

computing

Linear solver

Non-linear

method GP-GPU Stable

Fundamental

Technology

Parallel

Processing

Technologies Goal

Start

Page 22: JMAG Powered by GPU: A Novel Solution for ...on-demand.gputechconf.com/gtc/2013/presentations/S3464-JMAG-GP… · A Novel Solution for Electromechanical Design March 2013 David Farnia

Copyright © 2012 JSOL Corp. All Rights Reserved http://www.jmag-international.com/ 21

×

Contact

Engineering Technology Division,

JSOL Corporation

[Tokyo]: Harumi center Bldg. 2-5-24, Harumi, Chuo-ku, Tokyo, 104-0053

TEL:03-5859-6020 / FAX:03-5859-6035

[Nagoya]: Marunouchi KS Bldg 2-18-25, Marunouchi, Naka-ku, Nagoya-shi, 460-0002

TEL:052-202-8181 / FAX:052-202-8172

[Osaka]: Tosabori Daibiru Bldg. 2-2-4 Tosabori, Nishi-ku, Osaka, 550-0001

TEL:06-4803-5820 / FAX:06-6225-5826

Email: [email protected]

URL: http://www.jmag-international.com/

JMAG is a registered trademark of the JSOL Corp..

This document cannot be duplicated or distributed without the expressed permission of JSOL.

The other products and services included in this document are the trademarks or registered trademarks of their respective copyright holders.

This document was created March, 2013 and the information may change without notice.