Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

09 jus 20101123_optimisation_salomeaster

951,129 views

Published on

Optimisation with SALOME , Python and CodeAster

Published in: Technology
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

09 jus 20101123_optimisation_salomeaster

  1. 1. Optimisation structurelle à l’aide de Python, Salomé et Code-Aster Optimisation d’un rouet pour banc de calibration de capteurs inductifs NRCTech SA, Lausanne, Suisse, www.nrctech.chNRCTech SA www.nrctech.ch 30.01.2011 1
  2. 2. Problématique: optimisation statique d’un rouet boîtier arrièreProblématique: - palier échangeur thermique- Un banc d’essai est développé pour la - précharge paliercalibration de capteurs inductifs utiliséspour le contrôle de turbo-pompes rouet- Très haute vitesse requise bâti(supersonique), fréquence de passage - positionnementd’aube ≃ 20kHz - étanchéité - protectionLe banc dessai pour capteurs deproximité est constitué des éléments arbresuivants • un rouet (disque) tournant à haute boîtier avant vitesse sur un arbre - palier Rv • des paliers • deux capteurs de déplacement capteurs • un bâtiNRCTech SA www.nrctech.ch 30.01.2011 2
  3. 3. Cahier des charges, objectifs et contraintes  vitesse • fréquence de passage ~20khz, temps de passage ~3.5 ms  zone de lecture • longueur rectiligne >10 mm • largeur des bras 2.1 mm • épaisseur fixe > 10 mm  matériau : Ti6Al4V • données fournisseur • Sigma02 = 828MPa, Rm=895MPa  objectifs: • minimiser contraintes • minimiser masse  contraintes • dimensionnelles (réutiliser bâti) • temps alloué courtNRCTech SA www.nrctech.ch 30.01.2011 3
  4. 4. Optimisation statique du rouet: la démarche  Deux approches: • Étude de sensibilité et optimisation « manuelle » • Développer et mettre en œuvre un optimiseur paramétrique  Choix de développement: • Logiciels Open-Source uniquement • Capitaliser sur le savoir-faire, développements doivent pouvoir être réutilisés • Utiliser Salomé comme modeleur géométrique et mailleur • Avantage: scripts python, opérations booléennes, maillage intégré, gestion des groupes • Utiliser Code-Aster comme solveur: • Avantage: puissant et versatile, scriptable en python si nécessaire • Utiliser Python et la librairie Scipy.Optimize • Avantage: multi-plateforme, simple, efficace, compatible directement avec Salomé & Aster • Execution: utiliser CAELinux 2010 comme plateforme logicielle • tous les prérequis sont déjà installés prêts à l’emploiNRCTech SA www.nrctech.ch 30.01.2011 4
  5. 5. Postpro.sh Optim.py • Extraire les résultats utiles • Librairie scipy.optimize • In: Resu, Out: postpro.resu • Fonction Objectif • Contraintes / pénalisation • Out: paramètres Model.comm Paramsolve.py • Fichier commande Aster • Templates => fichiers • Résoud problème d’entrées mécanique • Execution de Salomé, • In: paramètres, Aster & Post-pro mesh.med , Out: • In: paramètres, out: resu.med résultats post-traités Model.py • Script Salomé • Génère géométrie et maillage paramétrique • In: paramètres, Out: mesh.med Logiciel d’optimisation paramétriqueNRCTech SA www.nrctech.ch 30.01.2011 5
  6. 6. Modèle 1 Modélisation d’un secteur (1/20)NRCTech SA www.nrctech.ch 30.01.2011 6
  7. 7. Modèle 1 : paramétrisationNRCTech SA www.nrctech.ch 30.01.2011 7
  8. 8. Construction géométrique modèle 1NRCTech SA www.nrctech.ch 30.01.2011 8
  9. 9. Model1.py … F2f=geompy.MakeFillet2D(F2b,R6,[4,5,7,9]) F3=geompy.MakeFace(poly1,1) V1=geompy.MakePrismVecH2Ways(F1,vz,thick) V2=geompy.MakePrismVecH2Ways(F2f,vz,2*thick) # boolean ops V3=geompy.MakeCut(V1,V2) V4=geompy.MakeRevolution2Ways(F3,vz,aa1r) V5=geompy.MakeCommon(V3,V4) … # compute the mesh msh=smesh.Mesh(V5,"mesh1") … msh.Compute() # and convert it to quadratic msh.ConvertToQuadratic(1) # generate groups on geometry mshgrp1=msh.GroupOnGeom(botsymg,"botsym") … msh.ExportMED( outmesh, 0, SMESH.MED_V2_2 )NRCTech SA www.nrctech.ch 30.01.2011 9
  10. 10. Optimisation 1 Paramètres à optimiser • Vecteur x : 11 paramètres géométrique Contraintes • Bornes sur les paramètres • Forcer certains paramètres pour maintenir une géométrie valide Objectif • Minimiser f(x) avec f(x) = || ( SMax(x)/Rm ; Masse(x)/MasseRef )||² Algorithme • Minimisation quasi-Newton L-BFGS de Scipy.Optimize • Calcul du Jacobien par différences finies • Bornes des paramètres respectées exactementNRCTech SA www.nrctech.ch 30.01.2011 10
  11. 11. Optimisation 1: résultat  Execution:  Modèle EF: ~ 50-70k DDL, résolution paramétrique (Salomé+Aster) ~1 min  Optimisation: ~80 résolutions EF ~ 1h30 Résultats  Design initial: • Contrainte max 1400 MPa • Masse: 1.51 kg  Design optimisé • Contrainte max 670 MPa • Masse: 1.05 kg NRCTech SA www.nrctech.ch 30.01.2011 11
  12. 12. Modèle 2 But: Améliorer aérodynamique (super sonique) Couronne externe à rayon constant Découpe pour alléger au maximumNRCTech SA www.nrctech.ch 30.01.2011 12
  13. 13. Modèle 2 : constructionNRCTech SA www.nrctech.ch 30.01.2011 13
  14. 14. Optimisation 2: résultat  Execution:  Modèle EF: ~ 120 DDL, résolution paramétrique (Salomé+Aster) ~2 min  Optimisation: ~80 résolutions EF ~ 3h Résultats  Design initial: • Contrainte max 1280 MPa • Masse: 1.3 kg  Design optimisé • Contrainte max 890 Mpa !! • Masse: 1.25 kg NRCTech SA www.nrctech.ch 30.01.2011 14
  15. 15. Vérification design 2 avec plasticitéNRCTech SA www.nrctech.ch 30.01.2011 15
  16. 16. Bilan  Comparaison des approches  Optimiseur paramétrique: • Dévelopement modèles paramétriques ~1.5 jours • Dévelopement optimiseur, tests & validation ~2 jours • Optimisation paramétrique, plusieurs essais & objectifs ~1.5 jours • Temps total ~5 jours de travail (dont 2 jours de dével. réutilisable) • Résultats optimaux p.r aux critères, compréhension limitée du problème  Optimisation manuelle: • Durée totale ~5 jours, résultats pas optimaux mais meilleure compréhension  Logiciels utilisés:  La plateforme Salome-Meca est idéale pour la réalisation d’études paramétriques  Scipy fonctionne bien, mais passage à Dakota dans le futur  Pas de frais de licences => possibilités d’extensions “illimitées” sur Cluster Amazon EC2 (voir CAELinux in the Cloud), p.ex avec Dakota / OpenTurnsNRCTech SA www.nrctech.ch 30.01.2011 16
  17. 17. Remerciements Merci de votre attention ! Cet exemple vous a été présenté par NRCTech SA, Lausanne www.nrctech.chNRCTech SA www.nrctech.ch 30.01.2011 17

×