Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with...

40
nafems.org/americas 1 Integrating Finite Element Analysis with Systems Engineering Models KONEKSYS – Jerome Szarazi, Axel Reichwein July 26, 2016 This work was performed under the following financial assistance award NIST Grant 2014-NIST-MSE-01 from U.S. Department of Commerce, National Institute of Standards and Technology (U.S. NIST contact: Conrad Bock)

Transcript of Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with...

Page 1: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

1

Integrating Finite Element Analysis with Systems

Engineering Models

• KONEKSYS – Jerome Szarazi, Axel Reichwein

July 26, 2016

This work was performed under the following financial assistance award NIST Grant 2014-NIST-MSE-01 from

U.S. Department of Commerce, National Institute of Standards and Technology (U.S. NIST contact: Conrad Bock)

Page 2: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Outline

• Introduction and motivation

• Challenges in FEA standardization

• New proposed FE mathematics description

• Validation

• Next steps and summary

2

Page 3: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Outline

• Introduction and motivation

• Challenges in FEA standardization

• New proposed FE mathematics description

• Validation

• Next steps and summary

3

Page 4: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Integration between Systems

Engineering and FEA

4

Systems Engineering

Requirement Behaviour

Structure Parametric

Software engineering

PRODUCTMechanical engineering

Electrical engineering

Manufacturing engineering

FEA

Page 5: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Motivation: Communication and archiving

5

Cross-disciplinary communication

What has been simulated?

Can I reuse the simulation?

Archiving and reuse

Defining concepts

What do you want me to simulate?

Are my requirements validated?

Page 6: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Motivation: traceability and impact analysis

6

Requirement traceability Impact analysis

e.g. Customization request

e.g. Cost reduction program…

Page 7: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Motivation: Tool interoperability

7

FEA

Domain specific tool interoperability

Interdisciplinary tool interoperability

Page 8: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

The challenge

8

Many Artifacts

Multiphysics

Many Vendors

FEA is complex

CAD Sim file MaterialResults

Custom code

Electrical Fluid ThermalMechanical

Page 9: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

The requirement to success

9

Systems Engineering

FEA

Mechanicalengineering

Interdisciplinary standardized interface Discipline specific

standards

Page 10: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

SysML – Standard for Systems Engineering

10

• SysML: Systems Modeling Language

• Defined by the OMG as standard in 2007

• Widely adopted for Model-Based Systems Engineering (MBSE)

• Current version: 1.4 (2015)

Page 11: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

FEA-related Standards

11

Page 12: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

AP209 (v2014)-based FEA model description

12

Ref: ISO 10303-209:2014(E) - Application protocol: Multidisciplinary analysis and design

Page 13: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Impact of missing FEA standard

• Interoperability is compromised

• Impact on reusability (custom code)

• communication between system and FEA engineers is not efficient

• No open-standard

13

Page 14: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Outline

• Introduction and motivation

• Challenges in FEA standardization

• New proposed FE mathematics description

• Validation

• Next steps and summary

14

Page 15: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Challenge 1: Capturing model information

15

Problem of encoding one model Ambiguity

Ref: Ansys capabilities overview

Page 16: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

The method: decomposition and reuse

16

Start with the definition of finite element mathematics

PHYSICS

GEOMETRY

MATHEMATICS

Finite Element

Page 17: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Challenge 2: Describing finite element mathematics

17

Difficult to create an ontology

Literature names are not descriptive

Logg A. et Al., Automated solution of differential equation by the finite element method, 2012, SpringerLogg A., Arnold D., periodic table of finite elements, 2014, Siam News

Page 18: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Removing ambiguity?

18

1 finite element Many Names 1 Reference

Linear simplexLinear triangleLinear Lagrange element…

Page 19: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Outline

• Introduction and motivation

• Challenges in FEA standardization

• New proposed FE mathematics description

• Validation

• Next steps and summary

19

Page 20: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Ciarlet’s definition of FE mathematics

20

Page 21: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

New FE mathematics description:

Assigning requirements to the geometry

21 21

Tetrahedron

Name: Element XY• Tetrahedron• 𝐶1 Ω = 𝑃𝐸; 1• 𝐶0 Ω = 𝑃𝐸; 1• Polynomial ref.

𝐶0 Ω = 𝑃𝐸; 1 𝐶1 Ω = 𝑃𝐸; 1

Page 22: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Polynomial basis dictionary

22

Pascal triangle of 2-dimensional monomials

Monomials can be ordered in a dictionary

Graded Lexicographic ordering

1 < 𝑦 < 𝑥 < 𝑦2 < 𝑥𝑦 < 𝑥2 < 𝑦3 < 𝑥2𝑦…

0 1 2 3 4 5 6 7

A polynomial is composed of monomials

Page 23: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Encoding FE mathematics

23

PG3-RC0PE1C1PE1-PFD2-0-1-2-3-4-5

GeometryFunctional requirements

Polynomial

This specification provides non ambiguous information for code implementation

Custom code

Page 24: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Reusing the new FE description for physics

24

• line• 𝐶0 Ω = 𝑃𝐸; 1• D1-0-1

• Temperature• Type: Scalar

• Displacement• Type: Vector

• line• 𝐶0 Ω = 𝑃𝐸; 1• D1-0-1

• line• 𝐶0 Ω = 𝑃𝐸; 1• D1-0-1

REUSE

Page 25: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Reusing the new FE specification for geometry

description

25

REUSE

• Line• 𝐶1 Ω = 𝑃𝐸; 1• 𝐶0 Ω = 𝑃𝐸; 1• D1-1-2-3

In a Cartesian coord. system

• Line• 𝐶1 Ω = 𝑃𝐸; 1• 𝐶0 Ω = 𝑃𝐸; 1• D1-1-2-3

• Dimension: 2• Type: Cartesian

Page 26: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Merging information to describe parametric finite

elements

26

• Line• 𝐶1 Ω = 𝑃𝐸; 1• 𝐶0 Ω = 𝑃𝐸; 1• D1-1-2-3

• Dimension: 2• Type: Cartesian

• Temperature• Type: Scalar

• line• 𝐶0 Ω = 𝑃𝐸; 1• D1-0-1

GEOMETRY

PHYSICS

MERGE

Page 27: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Next step of our work:

Specifying the FEA model

27

Use the same principle:Decomposition for reusability

Many physics use the same computational model…to be continued…

Page 28: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Unifying assembly process

28

Assembler

Ax=b

Solver

Solution

Ref: M. S. Alnæs, A. Logg, K.-A. Mardal, O. Skavhaug, and H. P. Langtangen (2008) ‘Unified Framework for Finite Element Assembly’.

Numerical model description

Page 29: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Problem classification

29

Numerical model 1 Numerical model 2

1D Thermal conduction

1D Electrostatics

1D Magnetostatics

2D Electrostatics

2D Thermal conduction

…….

model input knowledge

1D bar element

Model reuse

Associating numerical model to physics

Page 30: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Using SysML for model description:

Example of domain sub-classing

30

Example domain sub-classing by material properties

Page 31: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Remove ambiguity of software specific vocabulary

31

Example of Dirichletboundary conditions for axial elastostaticproblems

Reconcile vocabulary of input deck files

1D problem – vector is a scalar 2 combinationsu=0 (fixed, pin, wall) or u=free

2D problem – vector has 2 components.4 combinationsux=0 and uy=0 (vocab: fixed, pin, wall…)ux=free and uy=0 (vocab: roller, guide…)ux=0 and uy=free (vocab: roller, guide…)ux=free and uy=free (vocab: planar…)

Page 32: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Model reuse and connectivity

32

1D Thermal conduction

1D bar element

FEA model

Inputs Outputs

Parameters

Parameters

Parameters

Interface ?

Midterm goal: block based description of FEA problem using SysML

Page 33: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Outline

• Introduction and motivation

• Challenges in FEA standardization

• New proposed FE mathematics description

• Validation

• Next steps and summary

33

Page 34: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Python code to validate FE mathematics spec

• Model FEA specification in SysML

• FEA code to test the new proposed FEA spec

• FEA implemented in Python using object oriented

concepts

• Using symbolic equations for interoperability

• integration with open source FreeCAD

• Code available on GitHub:

https://github.com/koneksys/KFE/

34

Page 35: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Translating FE description into SysML

35

New FE-description

SysML model

Page 36: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Code interoperability

36

Code uses symbolic equation for interoperability

Symbolic equation program (i.e. Sympy)

HTML specification MathML info

Text

Equation image

Plot image

Code generator

Page 37: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Information aggregation

37

Aggregation of finite element information in a single python object

Page 38: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Outline

• Introduction and motivation

• Challenges in FEA standardization

• New proposed FEA description

• Validation

• Summary

38

Page 39: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Summary

• Benefits of new FE mathematics specification based on algebraic topology:

– Covering FE mathematics

– Understandable to engineers who are not mathematicians

– Simple and precise definition of a finite element

– Covering information for implementing FE mathematics in FEA code

– Can describe more FE elements than with descriptions based on

Ciarlet/periodic table

• New FE mathematics specification will benefit integration between systems

engineering and FEA

– Traceability

– Consistency/Synchronization

– Reuse

39

Page 40: Integrating Finite Element Analysis with Systems ......Integrating Finite Element Analysis with Systems Engineering Models •KONEKSYS –Jerome Szarazi, Axel Reichwein July 26, 2016

nafems.org/americas

Thank You!

Koneksys

Jerome Szarazi

t: +44(0)7736732512

e: [email protected]

40