MFront for the Code-Asterusers and beyond Code-Aster users meeting - - PowerPoint PPT Presentation

mfront for the code aster users and beyond
SMART_READER_LITE
LIVE PREVIEW

MFront for the Code-Asterusers and beyond Code-Aster users meeting - - PowerPoint PPT Presentation

MFront for the Code-Asterusers and beyond Code-Aster users meeting Thomas Helfer 1 , Jean-Michel Proix 2 , Olivier Fandeur 3 , 4 , ois Curtit 5 , Charles Toulemonde 5 , Franc ois Hamon 2 , Vincent Faucher 3 , 4 , Franc Michel Casella 1


slide-1
SLIDE 1

MFront for the Code-Aster’users and beyond

Code-Aster users meeting — Thomas Helfer1, Jean-Michel Proix 2, Olivier Fandeur3,4, Franc ¸ois Curtit5, Charles Toulemonde5, Franc ¸ois Hamon2, Vincent Faucher

3,4,

Michel Casella1 26 March 2015

1 CEA, D´

epartement d’´ Etudes des Combustibles

2 EDF R&D, D´

epartement Analyses M´ ecaniques et Acoustique

3 CEA, D´

epartement de Mod´ elisation des Syst` emes et des Structures

4 IMSIA, UMR 8193, CNRS-EDF-CEA-ENSTA 5 EDF R&D, D´

epartement des Mat´ eriaux et M´ ecanique des Composants

slide-2
SLIDE 2

Table of contents

Forewords A brief tour of MFront Material knowledge management Conclusions Appendix

PAGE 1/11

slide-3
SLIDE 3

Pleiades

PAGE 2/11

slide-4
SLIDE 4

A brief tour of MFront

slide-5
SLIDE 5

MFront

MFront is an open-source code generator based on C++ developed within the PLEIADES platform for :

material properties mechanical behaviours models

PAGE 3/11

slide-6
SLIDE 6

MFront

MFront is an open-source code generator based on C++ developed within the PLEIADES platform for :

material properties mechanical behaviours of particular interest for Code-Aster models

PAGE 3/11

slide-7
SLIDE 7

MFront

MFront is an open-source code generator based on C++ developed within the PLEIADES platform for :

material properties mechanical behaviours of particular interest for Code-Aster models

MFront provides several domain specific languages :

ease of use, expressivness, etc..

◮ focus on physical content ◮ low programming skills requirements PAGE 3/11

slide-8
SLIDE 8

MFront

MFront is an open-source code generator based on C++ developed within the PLEIADES platform for :

material properties mechanical behaviours of particular interest for Code-Aster models

MFront provides several domain specific languages :

ease of use, expressivness, etc..

◮ focus on physical content ◮ low programming skills requirements

MFront tries to comply with ´ Eric Lorentz’s rule of three :

reliability (gives the correct result) robustness (gives a result) numerical efficiency (is as fast as possible).

PAGE 3/11

slide-9
SLIDE 9

MFront

MFront is an open-source code generator based on C++ developed within the PLEIADES platform for :

material properties mechanical behaviours of particular interest for Code-Aster models

MFront provides several domain specific languages :

ease of use, expressivness, etc..

◮ focus on physical content ◮ low programming skills requirements

MFront tries to comply with ´ Eric Lorentz’s rule of three :

reliability (gives the correct result) robustness (gives a result) numerical efficiency (is as fast as possible).

Interoperability (rule of four ? See ”Intefaces” below).

PAGE 3/11

slide-10
SLIDE 10

MFront

MFront is an open-source code generator based on C++ developed within the PLEIADES platform for :

material properties mechanical behaviours of particular interest for Code-Aster models

MFront provides several domain specific languages :

ease of use, expressivness, etc..

◮ focus on physical content ◮ low programming skills requirements

MFront tries to comply with ´ Eric Lorentz’s rule of three :

reliability (gives the correct result) robustness (gives a result) numerical efficiency (is as fast as possible).

Interoperability (rule of four ? See ”Intefaces” below). Strong emphasis on Quality Assurance (rule of five ? See ”Material knowledge management” below).

PAGE 3/11

slide-11
SLIDE 11

MFront

MFront is an open-source code generator based on C++ developed within the PLEIADES platform for :

material properties mechanical behaviours of particular interest for Code-Aster models

MFront provides several domain specific languages :

ease of use, expressivness, etc..

◮ focus on physical content ◮ low programming skills requirements

MFront tries to comply with ´ Eric Lorentz’s rule of three :

reliability (gives the correct result) robustness (gives a result) numerical efficiency (is as fast as possible).

Interoperability (rule of four ? See ”Intefaces” below). Strong emphasis on Quality Assurance (rule of five ? See ”Material knowledge management” below). PLEIADES goals : building high quality fuels performance codes

PAGE 3/11

slide-12
SLIDE 12

A first example : material property

@DSL MaterialLaw ; // t r e a t i n g a m a t e r i a l p r o p e r t y @Mate rial UO2 ; // m a t e r i a l name @Law YoungModulus Martin1989 ; // name

  • f

the m a t e r i a l p r o p e r t y @Output E ; //

  • utput
  • f

the m a t e r i a l p r o p e r t y @Input T, f ; // i n p u t s

  • f

the m a t e r i a l p r o p e r t y @Function // imple me ntation body { E = 2.2693 e11 ∗(1. −2.5∗ f ) ∗(1−6.786 e−05∗T−4.23e−08∗T∗T) ; }

E (T, f ) = 2.2693 1011 (1 − 2.5 f ) (1 − 6.786 10−5 T − 4.23 10−8 T 2) usable in Code-Aster through the python interface. also in C, C++, fortran, excel, Cast3M, etc.. usable in MFront’s mechanical behaviours !

PAGE 4/11

slide-13
SLIDE 13

A first example : material property

@DSL MaterialLaw ; // t r e a t i n g a m a t e r i a l p r o p e r t y @Mate rial UO2 ; // m a t e r i a l name @Law YoungModulus Martin1989 ; // name

  • f

the m a t e r i a l p r o p e r t y @Author T. H e l f e r ; // author name @Date 04/04/2014; // imple me ntation date @De sc ription // d e t a i l l e d d e s c r i p t i o n { The e l a s t i c c o n s t a n t s

  • f

p o l y c r y s t a l l i n e UO2 and (U, Pu) mixed

  • x i d e s :

a re vie w and recommendations Martin , DG High Temperatures . High Pre ssure s , 1989 } @Output E ; //

  • utput
  • f

the m a t e r i a l p r o p e r t y E . setGlossaryName ( ”YoungModulus ” ) ; @Input T, f ; // i n p u t s

  • f

the m a t e r i a l p r o p e r t y

  • T. setGlossaryName ( ” Temperature ” ) ;

f . setGlossaryName ( ” P o r o s i t y ” ) ; @PhysicalBounds T i n [ 0 : ∗ [ ; // Temperature i s p o s i t i v e @PhysicalBounds f i n [ 0 : 1 . ] ; // P o r o s i t y i s p o s i t i v e and lowe r than

  • ne

@Bounds T i n [ 2 7 3 . 1 5 : 2 6 1 0 . 1 5 ] ; // V a l i d i t y range @Function // imple me ntation body { E = 2.2693 e11 ∗(1. −2.5∗ f ) ∗(1−6.786 e−05∗T−4.23e−08∗T∗T) ; }

E (T, f ) = 2.2693 1011 (1 − 2.5 f ) (1 − 6.786 10−5 T − 4.23 10−8 T 2)

PAGE 4/11

slide-14
SLIDE 14

Mechanical behaviours

@DSL I s o t r o p i c P l a s t i c M i s e s F l o w ; @Behaviour p l a s t i c f l o w ; @Author H e l f e r Thomas ; @Date 23/11/06; @Mate rialPrope rty s t r e s s H; @FlowRule{ f = seq− H∗p ; d f d s e q = 1; df dp = − H; }

A simple J2 (isotropic) plastic behaviour :

f (σeq, p) = σeq − H p ≤ 0 example of specific behaviour implementation automatic computation of the consistent tangent operator

PAGE 5/11

slide-15
SLIDE 15

Mechanical behaviours

@DSL I s o t r o p i c P l a s t i c M i s e s F l o w ; @Behaviour p l a s t i c f l o w ; @Author H e l f e r Thomas ; @Date 23/11/06; @Mate rialPrope rty s t r e s s H; @FlowRule{ f = seq− H∗p ; d f d s e q = 1; df dp = − H; }

A simple J2 (isotropic) plastic behaviour :

f (σeq, p) = σeq − H p ≤ 0 example of specific behaviour implementation automatic computation of the consistent tangent operator

various domain specific languages are available to cope with :

general small strain behaviours, general finite strain behaviours, cohesive zone models explicit or implicit integration schemes

◮ various algorithms available PAGE 5/11

slide-16
SLIDE 16

Code generation and interfaces

Finite elements solvers :

Code-Aster, Cast3M, ZeBuLoN.

Fast Fourier transform solvers :

TMFFT, AMITEX FFT

Fuel performance codes :

Cyrano3

PAGE 6/11

slide-17
SLIDE 17

Code generation and interfaces

Finite elements solvers :

Code-Aster, Cast3M, ZeBuLoN, EuroPlexus, Abaqus, Ansys.

Fast Fourier transform solvers :

TMFFT, AMITEX FFT, CraFT

Fuel performance codes :

Cyrano3, Galileo

working planned signs of interest

PAGE 6/11

slide-18
SLIDE 18

Material knowledge management

slide-19
SLIDE 19

Studies quality assurance

One of the main benefits of MFront is to make the link between :

Solvers :

◮ Finite elements solvers (Code-Aster, Cast3M, etc..) ◮ Fuel performances codes (PLEIADES), etc...)

Material knowledge management projects

PAGE 7/11

slide-20
SLIDE 20

Studies quality assurance

One of the main benefits of MFront is to make the link between :

Solvers :

◮ Finite elements solvers (Code-Aster, Cast3M, etc..) ◮ Fuel performances codes (PLEIADES), etc...)

Material knowledge management projects

With those projects, users are/will be granted access to :

Checked implementations (expert judgement, unit tests) Technical notes, experimental data, etc... Material knowledge versionning

PAGE 7/11

slide-21
SLIDE 21

Studies quality assurance

One of the main benefits of MFront is to make the link between :

Solvers :

◮ Finite elements solvers (Code-Aster, Cast3M, etc..) ◮ Fuel performances codes (PLEIADES), etc...)

Material knowledge management projects

With those projects, users are/will be granted access to :

Checked implementations (expert judgement, unit tests) Technical notes, experimental data, etc... Material knowledge versionning

Those projects allow much deeper interactions/discussion/feed-backs between simulation and experimental people.

PAGE 7/11

slide-22
SLIDE 22

Studies quality assurance

One of the main benefits of MFront is to make the link between :

Solvers :

◮ Finite elements solvers (Code-Aster, Cast3M, etc..) ◮ Fuel performances codes (PLEIADES), etc...)

Material knowledge management projects

With those projects, users are/will be granted access to :

Checked implementations (expert judgement, unit tests) Technical notes, experimental data, etc... Material knowledge versionning

Those projects allow much deeper interactions/discussion/feed-backs between simulation and experimental people. Stronger quality assurance for the end user studies

PAGE 7/11

slide-23
SLIDE 23

Sirius and Cadeex : some unformalised perspectives

Two material knowledge management tools : Sirius database in PLEIADES, Cadeex at EDF.

Those projects have followed complementary paths.

◮ many experience to share ◮ would benefit from a standard file exchange : MADNEX ?

End-user would greatly benefit from a Salome interface Solver inputs files would greatly benefit from allowing access to the underlying material data (Salome again)

PAGE 8/11

slide-24
SLIDE 24

Sirius and Cadeex : some unformalised perspectives

Two material knowledge management tools : Sirius database in PLEIADES, Cadeex at EDF.

Those projects have followed complementary paths.

◮ many experience to share ◮ would benefit from a standard file exchange : MADNEX ?

End-user would greatly benefit from a Salome interface Solver inputs files would greatly benefit from allowing access to the underlying material data (Salome again)

PAGE 8/11

slide-25
SLIDE 25

Conclusions

slide-26
SLIDE 26

Acknowledgements

  • J. M. Proix, J. Hure, F. Hamon, I. Rami`

ere, , ´

  • E. Castelier O. Fandeur,
  • V. Blanc, J. Julien, B. Michel, B. Bary, F. Milliard, A. Courcelle, and

all the others for various contributions. all the persons who contributed to the open-source release of TFEL : J.

  • P. Defain, D. Banner, T. De Soza, V. Marelle, ´
  • E. Lorentz, C.

Toulemonde, F. Curtit, R. Masson, and all the others. the authors are grateful to J. Besson and S. Quilici for their valuable help in building the ZeBuLoN interface. This research was conducted in the framework of the PLEIADES project, which was supported financially by the CEA (Commissariat ` a l’´ Energie Atomique et aux ´ Energies Alternatives), EDF (´ Electricit´ e de France) and AREVA and in the framework of the Simu-Meca2015 project hold within EDF R&D.

PAGE 9/11

slide-27
SLIDE 27

Thanks your for your attention. Questions ?

New users/contributors are welcomed ! http://tfel.sourceforge.net

PAGE 10/11

slide-28
SLIDE 28

Appendix

slide-29
SLIDE 29

Licences

To meet CEA and EDF needs, TFEL 2.0 is released under a multi-licensing scheme :

  • pen-source licences :

◮ GNU Public License : This licence is used by the Code-Aster finite

element solver.

◮ CECILL-A : License developped by CEA, EDF and INRIA, compatible

with the GNU Public License and designed for conformity with the French law.

CEA and EDF are free to distribute TFEL under custom licences : Mandatory for the PLEIADES plateform.

PAGE 11/11