+ ), # fin Creation\r
+# ---------------------------------------------------------------------------\r
+ b_type_modification = BLOC(condition = " Modele_Type == 'Show modele database'",\r
+# ---------------------------------------------------------------------------\r
+ technicalUse= SIMP(statut= 'o',typ= 'TXM',into=monDico['Modele_TechnicalUse'],siValide=lienDB.creeListeMateriauxSelonModele),\r
+ b_technicalUse = BLOC (condition = 'technicalUse != None and technicalUse != ""',\r
+ material= SIMP (statut ='o', typ='TXM',siValide=lienDB.creeListeModelesPossibles),\r
+ modele= SIMP (statut ='o', typ='TXM',siValide=lienDB.choisitModele),\r
+ b_modele = BLOC (condition = 'modele != None and modele != ""',\r
+ action = SIMP (statut ='o', typ='TXM',into = ['display','use','modify'], siValide=lienDB.choisitActionModele),\r
+# ---------------------------------------------------------------------------\r
+ b_type_modify = BLOC(condition = " action == 'modify'",\r
+# ---------------------------------------------------------------------------\r
+ ID=FACT(statut='o',\r
+ modeleName=SIMP(statut='o',typ='TXM'),\r
+ technicalUse= SIMP(statut= 'o',typ= 'TXM', into=monDico['Modele_TechnicalUse'] ),\r
+ material=SIMP(statut='o',typ='TXM'),\r
+ agingType=SIMP(statut= 'o',typ='TXM', min=1,max='**', homo='SansOrdreNiDoublon', into=('All', 'thermo', 'radio')),\r
+ stabilizer = SIMP(typ = bool, statut = 'o',),\r
+ material_thickness = SIMP(typ = 'TXM', statut = 'o', into = ['thin','thick']),\r
+ # il faudrait que position=global_jdc fonctionne\r
+ model_developed_by_for_EDF = SIMP(typ = bool, statut = 'o',),\r
+ documentation=SIMP(statut='o',typ='TXM',),\r
+\r
+\r
+# il faut recopier toute la suite en changeant eventuellement le nom du modele\r
+# il faut cocher toutes les equations par defaut\r
+ \r
+ ), # fin ID\r
+ ), # fin b_type_modify\r
+# ---------------------------------------------------------------------------\r
+ b_type_use = BLOC(condition = " action == 'use'",\r
+# ---------------------------------------------------------------------------\r
+ simulationName=SIMP(statut='o',typ='TXM'),\r
+ outputFolder = SIMP(statut="o", typ="Repertoire",siValide=lienDB.creeCoefAModifier),\r
+ ), # fin b_type_use\r
+# ---------------------------------------------------------------------------\r
+ b_type_use2 = BLOC(condition = " action == 'use'",\r
+# ---------------------------------------------------------------------------\r
+ Aging_Factor = FACT(statut='o',\r
+ predefinedSimulationTime = SIMP(statut='o',typ='TXM',into=monDico['Aging_Factor']['predefinedSimulationTime'],siValide=lienDB.remplirAgingFactor),\r
+ simulationTime=SIMP(statut='o',typ='R',),\r
+ numberOfNodes=SIMP(statut='o',typ='I',val_min=3,siValide=lienDB.creeInitialParameter),\r
+ sampleThickness=SIMP(statut='o',typ='R',),\r
+ #debitOfDose=SIMP(statut='o',typ='R',),\r
+ temperature=SIMP(statut='o',typ='R',),\r
+ oxygenPressure=SIMP(statut='o',typ='R',),\r
+ polymerConcentration=SIMP(statut='o',typ='R',),\r
+ ),\r
+ Initial_Parameter = FACT(statut='o',\r
+ max='**',\r
+ ),\r
+ Boundary_Conditions_Param = FACT(statut='o',\r
+ diffusionSpecies=SIMP(statut='o',typ='TXM',defaut='O2', into=['O2',]),\r
+ nodeNumber = SIMP(statut='o',typ='I',defaut=1, into=[1]), # tjours1\r
+ Boundary_Conditions_O2_1 = SIMP(statut='o',typ='TXM',into=monDico['Boundary_Conditions']),\r
+ BC_Value_Espece_1=SIMP(statut='o',typ='R'),\r
+ nodeNumber_Espece_4 = SIMP(statut='o',typ='I',defaut=4, into=[4]), # numberOfNodes+1\r
+ Boundary_Conditions_Espece_4 = SIMP(statut='o',typ='TXM',into=monDico['Boundary_Conditions']),\r
+ BC_Value_Espece_4=SIMP(statut='o',typ='R'),\r
+ ),\r
+\r
+ ), # fin b_type_use2\r
+ ), # fin b_modele\r
+ ), # fin b_technicalUse\r
+ ), # fin modification\r