SlideShare una empresa de Scribd logo
1 de 18
Thermalhydraulic coupling using
        ICoCo : an Interface for Code Coupling
                     and SALOME

                             Fabien Perdu



                          November 15, 2011




CEA Grenoble / DEN/DANS/DM2S/STMF      November 15, 2011   1
Some coupling examples

 •   2008 : Gas cooled fast reactor
      – Blackout transient
      – Cathare simulates the whole circuit
      – Trio_U simulates the upper plenum
      – 1D / 3D
      – Stratification in upper plenum for onset of natural
        convection
      – Independent time steps




CEA Grenoble / DEN/DANS/DM2S/STMF   November 15, 2011         2
Some coupling examples
 Complex timestep management => need for a flexible API
    Explicite, pas de temps non coïncidents
                     3                      6                           9
Cathare


Trio_U
              1        2          4         5            7          8       10
    Implicite, pas de temps coïncidents

    Cathare
                                                    …
     Trio_U


    Implicite, avec points de RDV (pour plus tard)

    Cathare
                                                                            …
     Trio_U
CEA Grenoble / DEN/DANS/DM2S/STMF               November 15, 2011                3
Some coupling examples
 •    2009 : validation of coupling methodology
       – Simple analytic test cases (closed loops)
       – Monophasic liquid or gas flows
       – 2-loop system with flow reversal
       – Still 1D-2D => values exchanged are doubles




     Many possible algorithms (values to transfer)
       => need for a flexible API
CEA Grenoble / DEN/DANS/DM2S/STMF      November 15, 2011   4
Some coupling examples
                               •    2010 : MC2 (modèle cœur
                                    collecteur)
                                     – Three 3D domains
                                         assemblies
                                         inter-assemblies
                                         hot collector
                                    – Interpolations
                                         2D-2D
                                         On 3D surfaces
                                         Between non conforming
                                          meshes
                                         Distributed on several
                                          processors




CEA Grenoble / DEN/DANS/DM2S/STMF        November 15, 2011         5
Some coupling examples
                               •    2010 : MC2 (modèle cœur
                                    collecteur)
                                     – Three 3D domains
                                         assemblies
                                         inter-assemblies
                                         hot collector
                                    – Interpolations
                                         2D-2D
                                         On 3D surfaces
                                         Between non conforming
                                          meshes
                                         Distributed on several
                                          processors




CEA Grenoble / DEN/DANS/DM2S/STMF        November 15, 2011         6
Some coupling examples
                               •    2010 : MC2 (modèle cœur
                                    collecteur)
                                     – Three 3D domains
                                         assemblies
                                         inter-assemblies
                                         hot collector
                                    – Interpolations
                                         2D-2D
                                         On 3D surfaces
                                         Between non conforming
                                          meshes
                                         Distributed on several
                                          processors



   Need for powerful interpolators

CEA Grenoble / DEN/DANS/DM2S/STMF        November 15, 2011         7
Some coupling examples
                                                 ParaMEDMem



                                                          ICoCo
              hconv                                                                          hconv
               T                                                                             T
                                                                                  Text
                      Flux                                     Flux
                                         Flux
Assemblages                                                                                          Inter-Assemblage
                                           Vsortie

                                          Tsortie
                                                           Flux                                                 Text
                                         hconv
                                                     Vsortie
                                          T                                       Flux
                                                     Tsortie

                             hconv   T                                    hconv   T

                DAC                                                   P                  Collecteur
                                                                      V

   Many data exchanges !!!
      CEA Grenoble / DEN/DANS/DM2S/STMF                                       November 15, 2011                        8
Some coupling examples
 •    2010 : Phenix end-of-life calculation
      (still ongoing)
       – Complex geometry
       – Many coupled physical phenomena




     Even further coupling needs (thermal 1D-3D, neutronic power,…)

CEA Grenoble / DEN/DANS/DM2S/STMF     November 15, 2011         9
Coupling methodology
 •   Domain overlapping method
      – Cathare simulates the whole reactor
      – Cathare datafile nearly untouched
      – Trio_U simulates the CFD part
      – Cathare and Trio_U overlap of the CFD domain
 •   Benefits
      – Stability easier to obtain
      – Trio_U->Cathare retroaction or not possible term by
        term
      – Easier comparison with Cathare alone, as the datafile
        is unchanged
 •   Challenges
      – Take advantage of Catahre pressure solver on the
        whole domain but stay insensitive to Cathare solution
        on the CFD part.

CEA Grenoble / DEN/DANS/DM2S/STMF   November 15, 2011       10
Coupling methodology
 •   Zoom (no feedback)
      – Mass equation
           Cathare provides mass flowrates on the boundaries
           In case of incompressible fluid in Trio_U, a small
            correction is added to ensure div(u)=0
      – Energy equation
           Cathare provides enthalpies on the boundaries


 •   Feedbacks
      – Momentum equation
           Momentum source term in Cathare regulated to reach
            dP(Trio_U)=dP(Cathare)
      – Energy equation
           Trio_U provides enthalpies on the boundaries, to be
            convected by Cathare


CEA Grenoble / DEN/DANS/DM2S/STMF     November 15, 2011           11
ICoCo : Interface for Code Coupling
 •   Needs identified
      – Flexible timestep management algorithms
      – Flexible field exchange algorithms
      – Parallel calculations and interpolation
      – Algorithms
           Easy to read
           Easy to modify
           Easy to reuse
 •   Solution chosen
      – Coupling algorithm outside the codes
      – Interpolation and data manipulation outside the codes
      – Codes accessibles through method calls
      – A common API to enable
           Replacing a code by another one
           Faster learning (common language)
           Better specification and stability of the API
CEA Grenoble / DEN/DANS/DM2S/STMF       November 15, 2011   12
ICoCo : Interface for Code Coupling
 •   Overview of the architecture

                         Supervisor
                             (C++, python,
                               SALOME)

                                                      Method call


               ICoCo (C++)                   ICoCo (C++)

                Code 1                        Code 2
             (any language)             (any language)




 •   Impact on the codes
      – They must be modular : the main loop must get out of
        the code and be flexible.
      – Hardly compatible with Fortran-style linear
        programming.

CEA Grenoble / DEN/DANS/DM2S/STMF                  November 15, 2011   13
ICoCo : Interface for Code Coupling

  • Scope
     – Each code is controllable through a C++ class,
       deriving from a common mother class named
       « Problem ».
     – Specifications for the codes :
       ICoCo specifies the methods of the Problem
       class and what they are supposed to do.
     – Specifications for the supervisor :
       ICoCo specifies when it is legal to call each
       method.
     – Scope :
       ICoCo methods allow time advance,
       saving/restoring and field exchange.


CEA Grenoble / DEN/DANS/DM2S/STMF   November 15, 2011   14
ICoCo : Interface for Code Coupling
  • Implementation

       – Already implemented in
             Trio_U
             Cathare
       – Work ongoing for
             Neptune_CFD
       – Interest expressed for
             Star_CD


       – Fields used
             MEDCouplingFieldDouble
             Simpler TrioField also compatible with
              ParaMEDMEM

CEA Grenoble / DEN/DANS/DM2S/STMF   November 15, 2011   15
ICoCo : Interface for Code Coupling

 • Today’s feedback
    – Supervisor + API paradigm seems a good choice
    – Some methods may still lack in the API
    – Writing the supervisor is often a repetitive task
      (if many fields exchanged)
      => possibility to make it more automatic


 • Foreseeable additions
    – Add helper methods wrapping existing ones
    – Describe several stages inside a timestep
    – Impose a new mesh to the code



CEA Grenoble / DEN/DANS/DM2S/STMF   November 15, 2011   16
ICoCo and SALOME
  • Generic ICoCo SALOME component
     – Possible for every ICoCo-compliant code
     – Even less burden for code developer

  • Specific Cathare SALOME component
     – Developed in the HEMERA frame
     – Adds convenient functions (e.g. getDouble)
     – No new functionnality (getField could do the job)

  • Parallel SALOME component
     – Feasibility demonstration in the NURISP frame
     – One master process dispatches the API calls


CEA Grenoble / DEN/DANS/DM2S/STMF   November 15, 2011   17
Latest use : ASTRID coupled CFD/system
  • SALOME use
     – CAO
     – Maillage
     – ParaMEDMEM interpolators

  • ICoCo use
     – Trio_U
     – Cathare

  • Coupling algorithm
     – C++ program ( ~ 1000 lines )

  • Many many data exchanged…

CEA Grenoble / DEN/DANS/DM2S/STMF   November 15, 2011   18

Más contenido relacionado

Similar a JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coupling and SALOME

Dual-Diameter Variation –Immune CNFET-based 7T SRAM Cell
Dual-Diameter Variation –Immune CNFET-based 7T SRAM CellDual-Diameter Variation –Immune CNFET-based 7T SRAM Cell
Dual-Diameter Variation –Immune CNFET-based 7T SRAM CellWaqas Tariq
 
3 - A critical review on the usual DCT Implementations (presented in a Malays...
3 - A critical review on the usual DCT Implementations (presented in a Malays...3 - A critical review on the usual DCT Implementations (presented in a Malays...
3 - A critical review on the usual DCT Implementations (presented in a Malays...Youness Lahdili
 
Design and Analysis of Power and Variability Aware Digital Summing Circuit
Design and Analysis of Power and Variability Aware Digital Summing CircuitDesign and Analysis of Power and Variability Aware Digital Summing Circuit
Design and Analysis of Power and Variability Aware Digital Summing CircuitIDES Editor
 
vlsi qb.docx imprtant questions for all units
vlsi qb.docx imprtant questions for all unitsvlsi qb.docx imprtant questions for all units
vlsi qb.docx imprtant questions for all unitsnitcse
 
CNFET BASED BASIC GATES AND A NOVEL FULLADDER CELL
CNFET BASED BASIC GATES AND A NOVEL FULLADDER CELLCNFET BASED BASIC GATES AND A NOVEL FULLADDER CELL
CNFET BASED BASIC GATES AND A NOVEL FULLADDER CELLVLSICS Design
 
CMOS VLSI design
CMOS VLSI designCMOS VLSI design
CMOS VLSI designRajan Kumar
 
Performance Analysis of Interconnect Drivers for Ultralow Power Applications
Performance Analysis of Interconnect Drivers for Ultralow Power ApplicationsPerformance Analysis of Interconnect Drivers for Ultralow Power Applications
Performance Analysis of Interconnect Drivers for Ultralow Power ApplicationsIDES Editor
 
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT IJECEIAES
 
Cloudy with a Touch of Cheminformatics
Cloudy with a Touch of CheminformaticsCloudy with a Touch of Cheminformatics
Cloudy with a Touch of CheminformaticsRajarshi Guha
 
EKH Company Presentation 2010 11
EKH Company Presentation 2010 11EKH Company Presentation 2010 11
EKH Company Presentation 2010 11Hermann Ruckerbauer
 
Moldex3D, Structural Analysis, and HyperStudy Integrated in HyperWorks Platfo...
Moldex3D, Structural Analysis, and HyperStudy Integrated in HyperWorks Platfo...Moldex3D, Structural Analysis, and HyperStudy Integrated in HyperWorks Platfo...
Moldex3D, Structural Analysis, and HyperStudy Integrated in HyperWorks Platfo...Altair
 
STUDY OF SPIN TRANSFER TORQUE (STT) AND SPIN ORBIT TORQUE (SOT) MAGNETIC TUNN...
STUDY OF SPIN TRANSFER TORQUE (STT) AND SPIN ORBIT TORQUE (SOT) MAGNETIC TUNN...STUDY OF SPIN TRANSFER TORQUE (STT) AND SPIN ORBIT TORQUE (SOT) MAGNETIC TUNN...
STUDY OF SPIN TRANSFER TORQUE (STT) AND SPIN ORBIT TORQUE (SOT) MAGNETIC TUNN...elelijjournal
 
Large Scale Parallel FDTD Simulation of Full 3D Photonic Crystal Structures
Large Scale Parallel FDTD Simulation of Full 3D Photonic Crystal StructuresLarge Scale Parallel FDTD Simulation of Full 3D Photonic Crystal Structures
Large Scale Parallel FDTD Simulation of Full 3D Photonic Crystal Structuresayubimoak
 
HardNet: Convolutional Network for Local Image Description
HardNet: Convolutional Network for Local Image DescriptionHardNet: Convolutional Network for Local Image Description
HardNet: Convolutional Network for Local Image DescriptionDmytro Mishkin
 

Similar a JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coupling and SALOME (20)

An03 dws
An03 dwsAn03 dws
An03 dws
 
Dual-Diameter Variation –Immune CNFET-based 7T SRAM Cell
Dual-Diameter Variation –Immune CNFET-based 7T SRAM CellDual-Diameter Variation –Immune CNFET-based 7T SRAM Cell
Dual-Diameter Variation –Immune CNFET-based 7T SRAM Cell
 
04020470
0402047004020470
04020470
 
3 - A critical review on the usual DCT Implementations (presented in a Malays...
3 - A critical review on the usual DCT Implementations (presented in a Malays...3 - A critical review on the usual DCT Implementations (presented in a Malays...
3 - A critical review on the usual DCT Implementations (presented in a Malays...
 
Design and Analysis of Power and Variability Aware Digital Summing Circuit
Design and Analysis of Power and Variability Aware Digital Summing CircuitDesign and Analysis of Power and Variability Aware Digital Summing Circuit
Design and Analysis of Power and Variability Aware Digital Summing Circuit
 
vlsi qb.docx imprtant questions for all units
vlsi qb.docx imprtant questions for all unitsvlsi qb.docx imprtant questions for all units
vlsi qb.docx imprtant questions for all units
 
CNFET BASED BASIC GATES AND A NOVEL FULLADDER CELL
CNFET BASED BASIC GATES AND A NOVEL FULLADDER CELLCNFET BASED BASIC GATES AND A NOVEL FULLADDER CELL
CNFET BASED BASIC GATES AND A NOVEL FULLADDER CELL
 
Vsync track c
Vsync   track cVsync   track c
Vsync track c
 
CMOS VLSI design
CMOS VLSI designCMOS VLSI design
CMOS VLSI design
 
Performance Analysis of Interconnect Drivers for Ultralow Power Applications
Performance Analysis of Interconnect Drivers for Ultralow Power ApplicationsPerformance Analysis of Interconnect Drivers for Ultralow Power Applications
Performance Analysis of Interconnect Drivers for Ultralow Power Applications
 
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
 
Cloudy with a Touch of Cheminformatics
Cloudy with a Touch of CheminformaticsCloudy with a Touch of Cheminformatics
Cloudy with a Touch of Cheminformatics
 
Conference ECT 2010
Conference ECT 2010Conference ECT 2010
Conference ECT 2010
 
EKH Company Presentation 2010 11
EKH Company Presentation 2010 11EKH Company Presentation 2010 11
EKH Company Presentation 2010 11
 
Cst studio-suite-2011-brochure-low
Cst studio-suite-2011-brochure-lowCst studio-suite-2011-brochure-low
Cst studio-suite-2011-brochure-low
 
Moldex3D, Structural Analysis, and HyperStudy Integrated in HyperWorks Platfo...
Moldex3D, Structural Analysis, and HyperStudy Integrated in HyperWorks Platfo...Moldex3D, Structural Analysis, and HyperStudy Integrated in HyperWorks Platfo...
Moldex3D, Structural Analysis, and HyperStudy Integrated in HyperWorks Platfo...
 
STUDY OF SPIN TRANSFER TORQUE (STT) AND SPIN ORBIT TORQUE (SOT) MAGNETIC TUNN...
STUDY OF SPIN TRANSFER TORQUE (STT) AND SPIN ORBIT TORQUE (SOT) MAGNETIC TUNN...STUDY OF SPIN TRANSFER TORQUE (STT) AND SPIN ORBIT TORQUE (SOT) MAGNETIC TUNN...
STUDY OF SPIN TRANSFER TORQUE (STT) AND SPIN ORBIT TORQUE (SOT) MAGNETIC TUNN...
 
Large Scale Parallel FDTD Simulation of Full 3D Photonic Crystal Structures
Large Scale Parallel FDTD Simulation of Full 3D Photonic Crystal StructuresLarge Scale Parallel FDTD Simulation of Full 3D Photonic Crystal Structures
Large Scale Parallel FDTD Simulation of Full 3D Photonic Crystal Structures
 
Memristors
MemristorsMemristors
Memristors
 
HardNet: Convolutional Network for Local Image Description
HardNet: Convolutional Network for Local Image DescriptionHardNet: Convolutional Network for Local Image Description
HardNet: Convolutional Network for Local Image Description
 

Más de OpenCascade

JUS 2011 - Homard
JUS 2011 - HomardJUS 2011 - Homard
JUS 2011 - HomardOpenCascade
 
JUS 2011 - Les 10 ans de Salome MECA
JUS 2011 - Les 10 ans de Salome MECAJUS 2011 - Les 10 ans de Salome MECA
JUS 2011 - Les 10 ans de Salome MECAOpenCascade
 
Jus 2011 - Salome - Panthere
Jus 2011 - Salome - PanthereJus 2011 - Salome - Panthere
Jus 2011 - Salome - PanthereOpenCascade
 
JUS 2011 - Manipulation de champs avec SALOME
JUS 2011 - Manipulation de champs avec SALOMEJUS 2011 - Manipulation de champs avec SALOME
JUS 2011 - Manipulation de champs avec SALOMEOpenCascade
 
JUS 2011 - SALOME Roadmap 2012-2013
JUS 2011 - SALOME Roadmap 2012-2013JUS 2011 - SALOME Roadmap 2012-2013
JUS 2011 - SALOME Roadmap 2012-2013OpenCascade
 
JUS 2011 - parex
JUS 2011 -  parex JUS 2011 -  parex
JUS 2011 - parex OpenCascade
 
Examples of use of the Salome Platform For Teaching and Research Activities A...
Examples of use of the Salome Platform For Teaching and Research Activities A...Examples of use of the Salome Platform For Teaching and Research Activities A...
Examples of use of the Salome Platform For Teaching and Research Activities A...OpenCascade
 
JUS 2001 - Maillage d'un béton avec Microgen
JUS 2001 - Maillage d'un béton avec MicrogenJUS 2001 - Maillage d'un béton avec Microgen
JUS 2001 - Maillage d'un béton avec MicrogenOpenCascade
 
JUS 2011 - Présentation 4a - Microgen
JUS 2011 -  Présentation 4a - MicrogenJUS 2011 -  Présentation 4a - Microgen
JUS 2011 - Présentation 4a - MicrogenOpenCascade
 
03 jus 2011 11 15 bilan2 011
03 jus 2011 11 15 bilan2 01103 jus 2011 11 15 bilan2 011
03 jus 2011 11 15 bilan2 011OpenCascade
 
10 jus 20101123_plat_salome
10 jus 20101123_plat_salome10 jus 20101123_plat_salome
10 jus 20101123_plat_salomeOpenCascade
 
08 jus 20101123_cae_linux_presentation
08 jus 20101123_cae_linux_presentation08 jus 20101123_cae_linux_presentation
08 jus 20101123_cae_linux_presentationOpenCascade
 
05 jus 20101123_numodis
05 jus 20101123_numodis05 jus 20101123_numodis
05 jus 20101123_numodisOpenCascade
 
04 jus 20101123_para_vis
04 jus 20101123_para_vis04 jus 20101123_para_vis
04 jus 20101123_para_visOpenCascade
 
03 jus 20101123_plateforme_alliance
03 jus 20101123_plateforme_alliance03 jus 20101123_plateforme_alliance
03 jus 20101123_plateforme_allianceOpenCascade
 
11 jus 20101123_saturneastersalome
11 jus 20101123_saturneastersalome11 jus 20101123_saturneastersalome
11 jus 20101123_saturneastersalomeOpenCascade
 
09 jus 20101123_optimisation_salomeaster
09 jus 20101123_optimisation_salomeaster09 jus 20101123_optimisation_salomeaster
09 jus 20101123_optimisation_salomeasterOpenCascade
 
01 jus 20101123_intro
01 jus 20101123_intro01 jus 20101123_intro
01 jus 20101123_introOpenCascade
 
02 jus 20101123_maillage_pourlacfd
02 jus 20101123_maillage_pourlacfd02 jus 20101123_maillage_pourlacfd
02 jus 20101123_maillage_pourlacfdOpenCascade
 

Más de OpenCascade (19)

JUS 2011 - Homard
JUS 2011 - HomardJUS 2011 - Homard
JUS 2011 - Homard
 
JUS 2011 - Les 10 ans de Salome MECA
JUS 2011 - Les 10 ans de Salome MECAJUS 2011 - Les 10 ans de Salome MECA
JUS 2011 - Les 10 ans de Salome MECA
 
Jus 2011 - Salome - Panthere
Jus 2011 - Salome - PanthereJus 2011 - Salome - Panthere
Jus 2011 - Salome - Panthere
 
JUS 2011 - Manipulation de champs avec SALOME
JUS 2011 - Manipulation de champs avec SALOMEJUS 2011 - Manipulation de champs avec SALOME
JUS 2011 - Manipulation de champs avec SALOME
 
JUS 2011 - SALOME Roadmap 2012-2013
JUS 2011 - SALOME Roadmap 2012-2013JUS 2011 - SALOME Roadmap 2012-2013
JUS 2011 - SALOME Roadmap 2012-2013
 
JUS 2011 - parex
JUS 2011 -  parex JUS 2011 -  parex
JUS 2011 - parex
 
Examples of use of the Salome Platform For Teaching and Research Activities A...
Examples of use of the Salome Platform For Teaching and Research Activities A...Examples of use of the Salome Platform For Teaching and Research Activities A...
Examples of use of the Salome Platform For Teaching and Research Activities A...
 
JUS 2001 - Maillage d'un béton avec Microgen
JUS 2001 - Maillage d'un béton avec MicrogenJUS 2001 - Maillage d'un béton avec Microgen
JUS 2001 - Maillage d'un béton avec Microgen
 
JUS 2011 - Présentation 4a - Microgen
JUS 2011 -  Présentation 4a - MicrogenJUS 2011 -  Présentation 4a - Microgen
JUS 2011 - Présentation 4a - Microgen
 
03 jus 2011 11 15 bilan2 011
03 jus 2011 11 15 bilan2 01103 jus 2011 11 15 bilan2 011
03 jus 2011 11 15 bilan2 011
 
10 jus 20101123_plat_salome
10 jus 20101123_plat_salome10 jus 20101123_plat_salome
10 jus 20101123_plat_salome
 
08 jus 20101123_cae_linux_presentation
08 jus 20101123_cae_linux_presentation08 jus 20101123_cae_linux_presentation
08 jus 20101123_cae_linux_presentation
 
05 jus 20101123_numodis
05 jus 20101123_numodis05 jus 20101123_numodis
05 jus 20101123_numodis
 
04 jus 20101123_para_vis
04 jus 20101123_para_vis04 jus 20101123_para_vis
04 jus 20101123_para_vis
 
03 jus 20101123_plateforme_alliance
03 jus 20101123_plateforme_alliance03 jus 20101123_plateforme_alliance
03 jus 20101123_plateforme_alliance
 
11 jus 20101123_saturneastersalome
11 jus 20101123_saturneastersalome11 jus 20101123_saturneastersalome
11 jus 20101123_saturneastersalome
 
09 jus 20101123_optimisation_salomeaster
09 jus 20101123_optimisation_salomeaster09 jus 20101123_optimisation_salomeaster
09 jus 20101123_optimisation_salomeaster
 
01 jus 20101123_intro
01 jus 20101123_intro01 jus 20101123_intro
01 jus 20101123_intro
 
02 jus 20101123_maillage_pourlacfd
02 jus 20101123_maillage_pourlacfd02 jus 20101123_maillage_pourlacfd
02 jus 20101123_maillage_pourlacfd
 

Último

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Último (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

JUS 2011 - Thermalhydraulic coupling using ICoCo : an Interface for Code Coupling and SALOME

  • 1. Thermalhydraulic coupling using ICoCo : an Interface for Code Coupling and SALOME Fabien Perdu November 15, 2011 CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 1
  • 2. Some coupling examples • 2008 : Gas cooled fast reactor – Blackout transient – Cathare simulates the whole circuit – Trio_U simulates the upper plenum – 1D / 3D – Stratification in upper plenum for onset of natural convection – Independent time steps CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 2
  • 3. Some coupling examples Complex timestep management => need for a flexible API Explicite, pas de temps non coïncidents 3 6 9 Cathare Trio_U 1 2 4 5 7 8 10 Implicite, pas de temps coïncidents Cathare … Trio_U Implicite, avec points de RDV (pour plus tard) Cathare … Trio_U CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 3
  • 4. Some coupling examples • 2009 : validation of coupling methodology – Simple analytic test cases (closed loops) – Monophasic liquid or gas flows – 2-loop system with flow reversal – Still 1D-2D => values exchanged are doubles Many possible algorithms (values to transfer) => need for a flexible API CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 4
  • 5. Some coupling examples • 2010 : MC2 (modèle cœur collecteur) – Three 3D domains  assemblies  inter-assemblies  hot collector – Interpolations  2D-2D  On 3D surfaces  Between non conforming meshes  Distributed on several processors CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 5
  • 6. Some coupling examples • 2010 : MC2 (modèle cœur collecteur) – Three 3D domains  assemblies  inter-assemblies  hot collector – Interpolations  2D-2D  On 3D surfaces  Between non conforming meshes  Distributed on several processors CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 6
  • 7. Some coupling examples • 2010 : MC2 (modèle cœur collecteur) – Three 3D domains  assemblies  inter-assemblies  hot collector – Interpolations  2D-2D  On 3D surfaces  Between non conforming meshes  Distributed on several processors Need for powerful interpolators CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 7
  • 8. Some coupling examples ParaMEDMem ICoCo hconv hconv T T Text Flux Flux Flux Assemblages Inter-Assemblage Vsortie Tsortie Flux Text hconv Vsortie T Flux Tsortie hconv T hconv T DAC P Collecteur V Many data exchanges !!! CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 8
  • 9. Some coupling examples • 2010 : Phenix end-of-life calculation (still ongoing) – Complex geometry – Many coupled physical phenomena Even further coupling needs (thermal 1D-3D, neutronic power,…) CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 9
  • 10. Coupling methodology • Domain overlapping method – Cathare simulates the whole reactor – Cathare datafile nearly untouched – Trio_U simulates the CFD part – Cathare and Trio_U overlap of the CFD domain • Benefits – Stability easier to obtain – Trio_U->Cathare retroaction or not possible term by term – Easier comparison with Cathare alone, as the datafile is unchanged • Challenges – Take advantage of Catahre pressure solver on the whole domain but stay insensitive to Cathare solution on the CFD part. CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 10
  • 11. Coupling methodology • Zoom (no feedback) – Mass equation  Cathare provides mass flowrates on the boundaries  In case of incompressible fluid in Trio_U, a small correction is added to ensure div(u)=0 – Energy equation  Cathare provides enthalpies on the boundaries • Feedbacks – Momentum equation  Momentum source term in Cathare regulated to reach dP(Trio_U)=dP(Cathare) – Energy equation  Trio_U provides enthalpies on the boundaries, to be convected by Cathare CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 11
  • 12. ICoCo : Interface for Code Coupling • Needs identified – Flexible timestep management algorithms – Flexible field exchange algorithms – Parallel calculations and interpolation – Algorithms  Easy to read  Easy to modify  Easy to reuse • Solution chosen – Coupling algorithm outside the codes – Interpolation and data manipulation outside the codes – Codes accessibles through method calls – A common API to enable  Replacing a code by another one  Faster learning (common language)  Better specification and stability of the API CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 12
  • 13. ICoCo : Interface for Code Coupling • Overview of the architecture Supervisor (C++, python, SALOME) Method call ICoCo (C++) ICoCo (C++) Code 1 Code 2 (any language) (any language) • Impact on the codes – They must be modular : the main loop must get out of the code and be flexible. – Hardly compatible with Fortran-style linear programming. CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 13
  • 14. ICoCo : Interface for Code Coupling • Scope – Each code is controllable through a C++ class, deriving from a common mother class named « Problem ». – Specifications for the codes : ICoCo specifies the methods of the Problem class and what they are supposed to do. – Specifications for the supervisor : ICoCo specifies when it is legal to call each method. – Scope : ICoCo methods allow time advance, saving/restoring and field exchange. CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 14
  • 15. ICoCo : Interface for Code Coupling • Implementation – Already implemented in  Trio_U  Cathare – Work ongoing for  Neptune_CFD – Interest expressed for  Star_CD – Fields used  MEDCouplingFieldDouble  Simpler TrioField also compatible with ParaMEDMEM CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 15
  • 16. ICoCo : Interface for Code Coupling • Today’s feedback – Supervisor + API paradigm seems a good choice – Some methods may still lack in the API – Writing the supervisor is often a repetitive task (if many fields exchanged) => possibility to make it more automatic • Foreseeable additions – Add helper methods wrapping existing ones – Describe several stages inside a timestep – Impose a new mesh to the code CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 16
  • 17. ICoCo and SALOME • Generic ICoCo SALOME component – Possible for every ICoCo-compliant code – Even less burden for code developer • Specific Cathare SALOME component – Developed in the HEMERA frame – Adds convenient functions (e.g. getDouble) – No new functionnality (getField could do the job) • Parallel SALOME component – Feasibility demonstration in the NURISP frame – One master process dispatches the API calls CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 17
  • 18. Latest use : ASTRID coupled CFD/system • SALOME use – CAO – Maillage – ParaMEDMEM interpolators • ICoCo use – Trio_U – Cathare • Coupling algorithm – C++ program ( ~ 1000 lines ) • Many many data exchanged… CEA Grenoble / DEN/DANS/DM2S/STMF November 15, 2011 18