]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Add Model_data.b_neutro_compo.cocagne_bloc.cocagne_options attribute to the data...
authorYohann Pipeau <yohann.pipeau@edf.fr>
Sat, 23 Apr 2022 06:40:58 +0000 (08:40 +0200)
committerYohann Pipeau <yohann.pipeau@edf.fr>
Thu, 12 May 2022 08:38:21 +0000 (10:38 +0200)
ReacteurNumerique/cata_RN_EDG.py
ReacteurNumerique/edg_REP1300_FULL.comm

index 120b98127892c707158e1be3cb2b57268415ff65..b4f93593a09a69eba3e9caee84b64c5b284b8158 100644 (file)
@@ -596,6 +596,25 @@ Model_data = OPER(
             statut="o",
             typ="TXM",
             into=("COCAGNE", "APOLLO3")),
+        cocagne_bloc=BLOC(
+            condition="code == 'COCAGNE'",
+            cocagne_options=FACT(
+                fr="Options de modélisations spécifiques au code COCAGNE.",
+                ang="COCAGNE specific modeling options",
+                statut="o",
+                core_elements_vs_dklib=SIMP(
+                    fr=("Association des éléments du cœur aux bibliothèques neutroniques "
+                        "sous la forme (assemblage combustible, DKLib)"),
+                    ang=("Association between the core elements and the neutronic libraries "
+                        "in the form (fuel assembly, DKLib)"),
+                    statut="o",
+                    typ=Tuple(2),
+                    # TODO: Check if the attribute assembly_type of the
+                    #       Assembly object is 'REF' then the type of the
+                    #       DKLibFile must be ReflectorDKLibFile and, if not,
+                    #       the type of the DKLibFile must be AssemblyDKLibFile
+                    validators=VerifTypeTuple((_Assembly, (_AssemblyDKLibFile, _ReflectorDKLibFile))),
+                    max="**"))),
         # TODO: Implement the *4x4* mesh
         radial_meshing=FACT(
             fr="Maillage radial du cœur",
index c47a2f89aa36ef7aa77817d2438e8bf509eda953..89ed0bcccedf736400a6d7014b7ab2ab227215ff 100644 (file)
@@ -176,7 +176,8 @@ REFL_PWR1300=ReflectorDKLibFile(filename='cocagne_data/dklib/Reflecteur_REP1300.
 
 neutro_model=Model_data(physics='Neutronics',
                         scale='component',
-                        code='APOLLO3',
+                        code='COCAGNE',
+                        cocagne_options=_F(core_elements_vs_dklib=((REF,REFL_PWR1300),(U1,AF3R_400),(UGD,AF3R_400_12G_GD80U071)),),
                         radial_meshing=_F(flux_solver='subdivision',
                                           flux_subdivision=2,
                                           feedback_solver='subdivision',
@@ -211,4 +212,4 @@ scenario_data=Scenario_data(initial_power=0.1,
                             complete_SCRAM_time=1.0,
                             post_processing=(('Fuel temperature@Thermalhydraulics','MAX'),('Neutronic power@Neutronics','SUM'),('Fuel temperature@Thermalhydraulics','MED'),('Neutronic power@Neutronics','MED')),);
 #VERSION_CATALOGUE:V_0:FIN VERSION_CATALOGUE
-#CHECKSUM:4a4101bf9abcdf69683620a7bfb47939:FIN CHECKSUM
\ No newline at end of file
+#CHECKSUM:c06d10ac9fa4f4f20cad8266b6f6455d:FIN CHECKSUM
\ No newline at end of file