SlideShare a Scribd company logo
1 of 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

More Related Content

Similar to Thermalhydraulic Coupling Using ICoCo

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 to Thermalhydraulic Coupling Using ICoCo (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
 

More from 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
 

More from 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
 

Recently uploaded

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Thermalhydraulic Coupling Using ICoCo

  • 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